Fixed CommonDBTest#worldNamesAreStored

This commit is contained in:
Rsl1122 2019-01-29 11:20:00 +02:00
parent b4a125b4b5
commit 767bc89db0

View File

@ -304,7 +304,7 @@ public abstract class CommonDBTest {
commitTest();
Collection<String> result = db.query(LargeFetchQueries.fetchAllWorldNames()).getOrDefault(serverUUID, new HashSet<>());
assertEquals(Arrays.asList(expected), result);
assertEquals(new HashSet<>(Arrays.asList(expected)), result);
}
private void saveWorld(String worldName) {