Fix implementation of containsExactly

See gh-327
This commit is contained in:
Koen Punt
2022-03-14 12:59:32 +01:00
committed by rstoyanchev
parent e3ac804015
commit 4e63970175

View File

@@ -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;
}