You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2019/04/24 12:32:12 UTC

[sling-org-apache-sling-committer-cli] 43/44: SLING-8337 - Create sub-command to manage the Jira update when promoting a release

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch feature/SLING-8337
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-committer-cli.git

commit 50b88dd5533da4522caaa49ead638dcb76d90cc6
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Wed Apr 24 13:51:31 2019 +0300

    SLING-8337 - Create sub-command to manage the Jira update when promoting a release
    
    Slightly better test for VersionClient.findUnresolvedIssues
---
 src/test/java/org/apache/sling/cli/impl/jira/VersionClientTest.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/test/java/org/apache/sling/cli/impl/jira/VersionClientTest.java b/src/test/java/org/apache/sling/cli/impl/jira/VersionClientTest.java
index d279a43..6e98b4a 100644
--- a/src/test/java/org/apache/sling/cli/impl/jira/VersionClientTest.java
+++ b/src/test/java/org/apache/sling/cli/impl/jira/VersionClientTest.java
@@ -111,5 +111,7 @@ public class VersionClientTest {
         List<Issue> issues = versionClient.findUnresolvedIssues(Release.fromString("Committer CLI 1.0.0").get(0));
         
         assertThat(issues, hasSize(2));
+        assertThat(issues.get(0).getKey(), equalTo("SLING-8338"));
+        assertThat(issues.get(1).getKey(), equalTo("SLING-8337"));
     }
 }