Update SNAPSHOT to 2.1.4.RELEASE

This commit is contained in:
buildmaster
2019-11-18 16:04:55 +00:00
parent 732b7d401c
commit 40fc9b011f
52 changed files with 270 additions and 83 deletions

View File

@@ -59,10 +59,10 @@ public abstract class WireMockVerifyHelper<T, S extends WireMockVerifyHelper<T,
Map<String, Object> configuration = getConfiguration(result);
byte[] requestBodyContent = getRequestBodyContent(result);
if (requestBodyContent != null) {
String actual = new String(requestBodyContent,
Charset.forName("UTF-8"));
String actual = new String(requestBodyContent, Charset.forName("UTF-8"));
for (JsonPath jsonPath : this.jsonPaths.values()) {
new JsonPathValue(jsonPath, actual).assertHasValue(Object.class, "an object");
new JsonPathValue(jsonPath, actual).assertHasValue(Object.class,
"an object");
}
}
configuration.put("contract.jsonPaths", this.jsonPaths.keySet());