Skip to content

Commit fd9768a

Browse files
committed
fix implementation of containsExactly
1 parent b2b1e2d commit fd9768a

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
@@ -589,7 +589,7 @@ public EntityList<E> containsExactly(E... elements) {
589589
List<E> expected = Arrays.asList(elements);
590590
AssertionErrors.assertTrue(
591591
"List at path '" + getPath() + "' should have contained exactly " + expected,
592-
getEntity().containsAll(expected));
592+
getEntity().equals(expected));
593593
});
594594
return this;
595595
}

0 commit comments

Comments
 (0)