Fix compile error in test

This commit is contained in:
Rsl1122 2019-08-12 15:45:52 +03:00
parent 1f1a2960f9
commit b5b08491f8

View File

@ -591,14 +591,16 @@ public interface DatabaseTest {
session.endSession(sessionStart + 22345L);
execute(DataStoreQueries.storeSession(session));
TestPluginLogger logger = new TestPluginLogger();
ConsoleErrorLogger errorHandler = new ConsoleErrorLogger(logger);
new DBCleanTask(
system().getConfigSystem().getConfig(),
new Locale(),
system().getDatabaseSystem(),
new QueryServiceImplementation(system().getDatabaseSystem(), system().getServerInfo()),
new QueryServiceImplementation(system().getDatabaseSystem(), system().getServerInfo(), logger, errorHandler),
system().getServerInfo(),
new TestPluginLogger(),
new ConsoleErrorLogger(new TestPluginLogger())
logger,
errorHandler
).cleanOldPlayers(db());
Collection<BaseUser> found = db().query(BaseUserQueries.fetchServerBaseUsers(serverUUID()));