Fix tests

This commit is contained in:
Aurora Lahtela 2023-04-06 21:00:10 +03:00
parent ef7ddc0766
commit c1f08cbc99

View File

@ -80,6 +80,7 @@ public interface TPSQueriesTest extends DatabaseTestPreparer {
@Test
default void sameServerIsDetected() {
TPSStoreTransaction.setLastStorageCheck(0L);
TPS tps = RandomData.randomTPS().get(0);
PluginLogger logger = Mockito.mock(PluginLogger.class);
db().executeTransaction(new TPSStoreTransaction(logger, serverUUID(), tps));