#54 - Polishing.
Extend test assertion to accept released flag of Jira release versions.
This commit is contained in:
@@ -166,8 +166,8 @@ public class JiraConnectorIntegrationTests extends AbstractIntegrationTests {
|
|||||||
|
|
||||||
jira.createReleaseVersion(REST_HOPPER_RC1);
|
jira.createReleaseVersion(REST_HOPPER_RC1);
|
||||||
|
|
||||||
verify(postRequestedFor(urlPathMatching(CREATE_VERSION_URI)).withRequestBody(
|
verify(postRequestedFor(urlPathMatching(CREATE_VERSION_URI)).withRequestBody(equalToJson(
|
||||||
equalToJson("{\"name\":\"2.5 RC1 (Hopper)\",\"project\":\"DATAREST\",\"description\":\"Hopper RC1\"}")));
|
"{\"name\":\"2.5 RC1 (Hopper)\",\"project\":\"DATAREST\",\"description\":\"Hopper RC1\", \"released\":false}")));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user