#54 - Polishing.

Extend test assertion to accept released flag of Jira release versions.
This commit is contained in:
Mark Paluch
2017-06-07 13:58:20 +02:00
parent 7e4265a594
commit fb187e407c

View File

@@ -166,8 +166,8 @@ public class JiraConnectorIntegrationTests extends AbstractIntegrationTests {
jira.createReleaseVersion(REST_HOPPER_RC1);
verify(postRequestedFor(urlPathMatching(CREATE_VERSION_URI)).withRequestBody(
equalToJson("{\"name\":\"2.5 RC1 (Hopper)\",\"project\":\"DATAREST\",\"description\":\"Hopper RC1\"}")));
verify(postRequestedFor(urlPathMatching(CREATE_VERSION_URI)).withRequestBody(equalToJson(
"{\"name\":\"2.5 RC1 (Hopper)\",\"project\":\"DATAREST\",\"description\":\"Hopper RC1\", \"released\":false}")));
}
/**