Fixed MySQLDatabaseHandlerTest

This commit is contained in:
Florian CUNY 2019-10-20 09:31:40 +02:00
parent 3fd92f05e8
commit 24d6b15340
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@ public class MySQLDatabaseHandlerTest {
public void testMySQLDatabaseHandlerBadPassword() {
when(dbConn.createConnection(any())).thenReturn(null);
new MySQLDatabaseHandler<>(plugin, Island.class, dbConn);
verify(plugin).logError("Are the settings in config.yml correct?");
verify(plugin).logError("Could not connect to the database. Are the credentials in the config.yml file correct?");
verify(pluginManager).disablePlugin(plugin);
}