mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-24 18:17:53 +01:00
[#900] Attempt to reproduce bug with a test
This commit is contained in:
parent
4809f0e7de
commit
0a7695a3d3
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user