This commit is contained in:
Gabriele C 2016-07-22 09:55:22 +02:00
parent 8fcb651ebb
commit 0eb1890cf9
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,6 @@ public class AuthMe extends JavaPlugin {
private PermissionsManager permsMan;
private NewSetting newSettings;
private Messages messages;
private PasswordSecurity passwordSecurity;
private DataSource database;
private PluginHooks pluginHooks;
private SpawnLoader spawnLoader;
@ -289,7 +288,7 @@ public class AuthMe extends JavaPlugin {
permsMan = injector.getSingleton(PermissionsManager.class);
bukkitService = injector.getSingleton(BukkitService.class);
pluginHooks = injector.getSingleton(PluginHooks.class);
passwordSecurity = injector.getSingleton(PasswordSecurity.class);
injector.getSingleton(PasswordSecurity.class);
spawnLoader = injector.getSingleton(SpawnLoader.class);
commandHandler = injector.getSingleton(CommandHandler.class);
management = injector.getSingleton(Management.class);

View File

@ -111,6 +111,7 @@ public class ReloadCommandTest {
verify(authMe).stopOrUnload();
}
@SuppressWarnings("unchecked")
@Test
public void shouldIssueWarningForChangedDatasourceSetting() {
// given