Fix implementation of containsExactly
See gh-327
This commit is contained in:
@@ -590,7 +590,7 @@ final class DefaultGraphQlTester implements GraphQlTester {
|
||||
List<E> expected = Arrays.asList(elements);
|
||||
AssertionErrors.assertTrue(
|
||||
"List at path '" + getPath() + "' should have contained exactly " + expected,
|
||||
getEntity().containsAll(expected));
|
||||
getEntity().equals(expected));
|
||||
});
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user