Skip to content

Commit 4e63970

Browse files
koenpuntrstoyanchev
authored andcommitted
Fix implementation of containsExactly
See gh-327
1 parent e3ac804 commit 4e63970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-graphql-test/src/main/java/org/springframework/graphql/test/tester/DefaultGraphQlTester.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ public EntityList<E> containsExactly(E... elements) {
590590
List<E> expected = Arrays.asList(elements);
591591
AssertionErrors.assertTrue(
592592
"List at path '" + getPath() + "' should have contained exactly " + expected,
593-
getEntity().containsAll(expected));
593+
getEntity().equals(expected));
594594
});
595595
return this;
596596
}

0 commit comments

Comments
 (0)