We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39134b0 commit f75b184Copy full SHA for f75b184
server/src/test/java/access/jira/JiraClientTest.java
@@ -45,4 +45,14 @@ void create() {
45
"mail@to.org"));
46
assertEquals("CTX-1000", jiraKey);
47
}
48
+
49
+ @Test
50
+ void comment() {
51
+ String jiraKey = "CTX-1000";
52
+ stubFor(post(urlPathMatching("/issue/" + jiraKey + "/comment")).willReturn(aResponse()
53
+ .withHeader("Content-Type", "application/json")
54
+ .withStatus(200)));
55
56
+ jiraClient.comment(jiraKey,"Comment");
57
+ }
58
0 commit comments