1
0
mirror of https://github.com/BentoBoxWorld/Warps.git synced 2024-11-22 02:25:31 +01:00

Update WarpsCommandTest.java

This commit is contained in:
BONNe 2023-11-05 22:00:28 +02:00 committed by GitHub
parent a1e03af13a
commit 6dbdb0f8aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,7 @@ public class WarpsCommandTest {
@Test @Test
public void testSetupWarpCompositeCommand() { public void testSetupWarpCompositeCommand() {
warpCommandWarpsCompositeCommand(); warpCommandWarpsCompositeCommand();
assertEquals("bskyblock.island.warp", wc.getPermission()); assertEquals("bskyblock.island.warps", wc.getPermission());
assertTrue(wc.isOnlyPlayer()); assertTrue(wc.isOnlyPlayer());
assertEquals("warps.help.description", wc.getDescription()); assertEquals("warps.help.description", wc.getDescription());
} }
@ -134,7 +134,7 @@ public class WarpsCommandTest {
@Test @Test
public void testSetupWarp() { public void testSetupWarp() {
warpCommandWarps(); warpCommandWarps();
assertEquals(Warp.WELCOME_WARP_SIGNS + ".warp", wc.getPermission()); assertEquals(Warp.WELCOME_WARP_SIGNS + ".warps", wc.getPermission());
assertTrue(wc.isOnlyPlayer()); assertTrue(wc.isOnlyPlayer());
assertEquals("warps.help.description", wc.getDescription()); assertEquals("warps.help.description", wc.getDescription());
} }