Merge branch '2.1.x'

This commit is contained in:
Marcin Grzejszczak
2019-11-05 14:54:52 +01:00
18 changed files with 159 additions and 50 deletions

View File

@@ -290,7 +290,7 @@ public class ApplicationTests {
.content("{\"id\":\"123456\",\"message\":\"Hello World\"}"))
.andExpect(status().isOk())
.andDo(verify().jsonPath("$.id")
.stub("resource"));
.andDo(document("resource"));
}
}
----
@@ -317,7 +317,7 @@ following example shows:
.wiremock(WireMock.post(
urlPathEquals("/resource"))
.withRequestBody(matchingJsonPath("$.id"))
.stub("post-resource"));
.andDo(document("post-resource"));
}
----