Skip to content

Commit bae549c

Browse files
committed
Merge pull request #720 from izeye
* gh-720: Add missing json() invocation in JsonFieldPathsTests Closes gh-720
2 parents 09b21a9 + 709e5f2 commit bae549c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-restdocs-core/src/test/java/org/springframework/restdocs/payload/JsonFieldPathsTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public void missingEntriesInNestedMapAreIdentifiedAsUncommon() {
8080
public void absentItemFromFieldExtractionCausesAllPresentFieldsToBeIdentifiedAsUncommon() {
8181
assertThat(
8282
JsonFieldPaths
83-
.from(Arrays.asList(ExtractedField.ABSENT, ("{\"a\": 1, \"b\": {\"c\": 1}}"),
83+
.from(Arrays.asList(ExtractedField.ABSENT, json("{\"a\": 1, \"b\": {\"c\": 1}}"),
8484
json("{\"a\": 1, \"b\": {\"c\": 1}}"), json("{\"a\": 1, \"b\": {\"d\": 2}}")))
8585
.getUncommon()).containsExactly("", "a", "b", "b.c", "b.d");
8686
}

0 commit comments

Comments
 (0)