Bumping versions

This commit is contained in:
buildmaster
2019-10-03 00:21:26 +00:00
parent 7a6e1713e7
commit 769c821804

View File

@@ -177,8 +177,7 @@ public class WireMockSnippetTests {
@Test
public void should_accept_query_params() throws IOException {
this.operation = operation(requestGetWithQueryParam(), response(),
this.context);
this.operation = operation(requestGetWithQueryParam(), response(), this.context);
WireMockSnippet snippet = new WireMockSnippet();
snippet.document(this.operation);
@@ -188,9 +187,8 @@ public class WireMockSnippetTests {
StubMapping stubMapping = WireMockStubMapping
.buildFrom(new String(Files.readAllBytes(stub.toPath())));
assertThat(stubMapping.getRequest().getUrlPath()).isEqualTo("/bar");
assertThat(stubMapping.getRequest()
.getQueryParameters())
.containsOnly(Assertions.entry("myParam", MultiValuePattern.of(equalTo(("myValue")))));
assertThat(stubMapping.getRequest().getQueryParameters()).containsOnly(
Assertions.entry("myParam", MultiValuePattern.of(equalTo(("myValue")))));
}
private Operation operation(OperationRequest request, OperationResponse response,