mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +08:00
Fixed CommonDBTest#worldNamesAreStored
This commit is contained in:
parent
b4a125b4b5
commit
767bc89db0
@ -304,7 +304,7 @@ public abstract class CommonDBTest {
|
|||||||
commitTest();
|
commitTest();
|
||||||
|
|
||||||
Collection<String> result = db.query(LargeFetchQueries.fetchAllWorldNames()).getOrDefault(serverUUID, new HashSet<>());
|
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) {
|
private void saveWorld(String worldName) {
|
||||||
|
Loading…
Reference in New Issue
Block a user