Fixed tests

This commit is contained in:
Florian CUNY 2020-04-29 18:51:07 +02:00
parent 1ed4773199
commit 314fddc400

View File

@ -252,7 +252,7 @@ public class AdminRegisterCommandTest {
AdminRegisterCommand itl = new AdminRegisterCommand(ac);
assertTrue(itl.execute(user, itl.getLabel(), Collections.singletonList("tastybento")));
// Add other verifications
verify(user).sendMessage(eq("commands.admin.register.registered-island"), eq("[xyz]"), eq("123,123,432"));
verify(user).sendMessage(eq("commands.admin.register.registered-island"), eq("[xyz]"), eq("123,123,432"), eq("[name]"), eq("tastybento"));
verify(user).sendMessage(eq("general.success"));
}