mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-03 01:10:17 +01:00
Fix compile error in test
This commit is contained in:
parent
1f1a2960f9
commit
b5b08491f8
@ -591,14 +591,16 @@ public interface DatabaseTest {
|
|||||||
session.endSession(sessionStart + 22345L);
|
session.endSession(sessionStart + 22345L);
|
||||||
execute(DataStoreQueries.storeSession(session));
|
execute(DataStoreQueries.storeSession(session));
|
||||||
|
|
||||||
|
TestPluginLogger logger = new TestPluginLogger();
|
||||||
|
ConsoleErrorLogger errorHandler = new ConsoleErrorLogger(logger);
|
||||||
new DBCleanTask(
|
new DBCleanTask(
|
||||||
system().getConfigSystem().getConfig(),
|
system().getConfigSystem().getConfig(),
|
||||||
new Locale(),
|
new Locale(),
|
||||||
system().getDatabaseSystem(),
|
system().getDatabaseSystem(),
|
||||||
new QueryServiceImplementation(system().getDatabaseSystem(), system().getServerInfo()),
|
new QueryServiceImplementation(system().getDatabaseSystem(), system().getServerInfo(), logger, errorHandler),
|
||||||
system().getServerInfo(),
|
system().getServerInfo(),
|
||||||
new TestPluginLogger(),
|
logger,
|
||||||
new ConsoleErrorLogger(new TestPluginLogger())
|
errorHandler
|
||||||
).cleanOldPlayers(db());
|
).cleanOldPlayers(db());
|
||||||
|
|
||||||
Collection<BaseUser> found = db().query(BaseUserQueries.fetchServerBaseUsers(serverUUID()));
|
Collection<BaseUser> found = db().query(BaseUserQueries.fetchServerBaseUsers(serverUUID()));
|
||||||
|
Loading…
Reference in New Issue
Block a user