mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-03-12 22:59:15 +01:00
Fixed MySQLDatabaseHandlerTest
This commit is contained in:
parent
3fd92f05e8
commit
24d6b15340
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user