diff --git a/src/test/java/org/bitbiome/commands/ShopCommandTest.java b/src/test/java/org/bitbiome/commands/ShopCommandTest.java index 5dad043..5190e63 100755 --- a/src/test/java/org/bitbiome/commands/ShopCommandTest.java +++ b/src/test/java/org/bitbiome/commands/ShopCommandTest.java @@ -6,30 +6,29 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; public class ShopCommandTest { - final ShopCommand shopCommand = new ShopCommand(); final Shop shop = new Shop(null, true, null, null); @Test public void testValidInput1(){ boolean expected = true; - boolean result = shopCommand.validInput("1"); + boolean result = ShopCommand.validInput("1"); assertEquals(expected, result); } @Test public void testValidInput2(){ boolean expected = true; - boolean result = shopCommand.validInput("2"); + boolean result = ShopCommand.validInput("2"); assertEquals(expected, result); } @Test public void testValidInput3(){ boolean expected = true; - boolean result = shopCommand.validInput("3"); + boolean result = ShopCommand.validInput("3"); assertEquals(expected, result); } @Test public void testValidInput4(){ boolean expected = true; - boolean result = shopCommand.validInput("4"); + boolean result = ShopCommand.validInput("4"); assertEquals(expected, result); }