diff --git a/src/test/java/fr/xephi/authme/listener/ListenerConsistencyTest.java b/src/test/java/fr/xephi/authme/listener/ListenerConsistencyTest.java index 92eac7289..f0ea065eb 100644 --- a/src/test/java/fr/xephi/authme/listener/ListenerConsistencyTest.java +++ b/src/test/java/fr/xephi/authme/listener/ListenerConsistencyTest.java @@ -31,7 +31,8 @@ public final class ListenerConsistencyTest { "PlayerListener#onPlayerJoin", "PlayerListener#onPlayerLogin", "PlayerListener#onPlayerQuit", "ServerListener#onPluginDisable", "ServerListener#onServerPing", "ServerListener#onPluginEnable", - "PlayerListener#onJoinMessage", "PlayerListener#onAsyncPlayerPreLoginEvent"); + "PlayerListener#onJoinMessage", "PlayerListener#onAsyncPlayerPreLoginEvent", + "PlayerListener#onPlayerSpawn"); @BeforeClass public static void collectListenerClasses() { diff --git a/src/test/java/fr/xephi/authme/listener/PlayerListenerTest.java b/src/test/java/fr/xephi/authme/listener/PlayerListenerTest.java index 80d6c9748..e28311a3f 100644 --- a/src/test/java/fr/xephi/authme/listener/PlayerListenerTest.java +++ b/src/test/java/fr/xephi/authme/listener/PlayerListenerTest.java @@ -579,7 +579,6 @@ public class PlayerListenerTest { verify(onJoinVerifier).checkKickNonRegistered(true); verify(onJoinVerifier).checkNameCasing(name, auth); verify(onJoinVerifier).checkPlayerCountry(name, ip, true); - verify(teleportationService).teleportOnJoin(player); verifyNoModifyingCalls(event); }