This commit is contained in:
HexelDev 2018-03-15 21:53:27 +01:00
parent f5efd4bf23
commit 7790fa5796

View File

@ -254,7 +254,7 @@ public class PlayerListenerTest {
} }
@Test @Test
public void shouldCancelCommandFastCommandEvent() { public void shouldCancelFastCommandEvent() {
// given // given
given(settings.getProperty(HooksSettings.USE_ESSENTIALS_MOTD)).willReturn(false); given(settings.getProperty(HooksSettings.USE_ESSENTIALS_MOTD)).willReturn(false);
given(settings.getProperty(RestrictionSettings.ALLOW_COMMANDS)).willReturn(Arrays.asList("/spawn", "/help")); given(settings.getProperty(RestrictionSettings.ALLOW_COMMANDS)).willReturn(Arrays.asList("/spawn", "/help"));