Bumping versions

This commit is contained in:
buildmaster
2021-04-24 00:21:43 +00:00
parent 006768c1e5
commit c323e3e105

View File

@@ -77,8 +77,7 @@ public class WiremockMockServerApplicationTests {
@Test
public void simpleGetWithJsonBody() throws Exception {
MockRestServiceServer server = WireMockRestServiceServer.with(this.restTemplate)
.baseUrl("https://example.org")
MockRestServiceServer server = WireMockRestServiceServer.with(this.restTemplate).baseUrl("https://example.org")
.stubs("classpath:/mappings/resource-with-json-body.json").build();
String response = this.restTemplate.getForObject("https://example.org/resource", String.class);
@@ -89,8 +88,7 @@ public class WiremockMockServerApplicationTests {
@Test
public void simpleGetWithBase64Body() throws Exception {
MockRestServiceServer server = WireMockRestServiceServer.with(this.restTemplate)
.baseUrl("https://example.org")
MockRestServiceServer server = WireMockRestServiceServer.with(this.restTemplate).baseUrl("https://example.org")
.stubs("classpath:/mappings/resource-with-base64-body.json").build();
String response = this.restTemplate.getForObject("https://example.org/resource", String.class);