From 5a382e8618c2d5dc277c4e75e2b44637d6692f0f Mon Sep 17 00:00:00 2001 From: Viktor Kuchyn Date: Fri, 11 Mar 2016 21:46:29 +0530 Subject: [PATCH] #918: puzzle description reworded --- .../com/rultor/agents/github/ClosePullRequestTest.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/test/java/com/rultor/agents/github/ClosePullRequestTest.java b/src/test/java/com/rultor/agents/github/ClosePullRequestTest.java index e404d07f30..5eb139d40d 100644 --- a/src/test/java/com/rultor/agents/github/ClosePullRequestTest.java +++ b/src/test/java/com/rultor/agents/github/ClosePullRequestTest.java @@ -56,10 +56,11 @@ public final class ClosePullRequestTest { /** * ClosePullRequest can close pull request if rebase mode. * @throws Exception If error - * @todo #918:30min Close pull requests only for success merges, skip for - * unsuccessful. Add new instance of ClosePullRequest to agents list in - * Agents class after EndRequests agent instantiating (there you can find - * status in talk object). + * @todo #918:30min This class should only close pull requests for + * successful merges, that have not resulted in GitHub itself closing the + * PR, do nothing for any other kind of request. Once this is implemented + * here, implement this class acting on all pull requests by adding it to + * the active Agents. */ @Test public void closesPullRequestForRebaseMode() throws Exception {