[#900] Attempt to reproduce bug with a test

This commit is contained in:
Rsl1122 2019-01-26 22:25:51 +02:00
parent 4809f0e7de
commit 0a7695a3d3

View File

@ -779,6 +779,12 @@ public abstract class CommonDBTest {
assertEquals(createWorldTimes(), worldTimesOfServer);
}
@Test
public void testGetServerWorldTimesNoSessions() {
WorldTimes worldTimesOfServer = db.getWorldTimesTable().getWorldTimesOfServer(serverUUID);
assertEquals(new WorldTimes(new HashMap<>()), worldTimesOfServer);
}
@Test
public void testRegister() {
assertFalse(db.check().isPlayerRegistered(playerUUID));