diff --git a/src/test/java/moimoi/util/command/AddCommandTest.java b/src/test/java/moimoi/util/command/AddCommandTest.java index 938838241e..c56656152b 100644 --- a/src/test/java/moimoi/util/command/AddCommandTest.java +++ b/src/test/java/moimoi/util/command/AddCommandTest.java @@ -158,24 +158,4 @@ public void execute_invalidPeriod_invalidPeriodExceptionThrown() { } } - @Test - public void execute_validInputs_success() throws Exception { - - AddCommand addCommand; - - addCommand = new AddCommand(CommandEnum.DEADLINE, "dummy /by 2024-08-22 18:00"); - addCommand.execute(this.storage, this.tasks); - - addCommand = new AddCommand(CommandEnum.EVENT, - "dummy /from 2024-08-22 18:00 /to 2024-08-22 18:30"); - addCommand.execute(this.storage, this.tasks); - - addCommand = new AddCommand(CommandEnum.PERIOD, "dummy /for 17"); - addCommand.execute(this.storage, this.tasks); - - addCommand = new AddCommand(CommandEnum.PERIOD, "dummy /for 17.5"); - addCommand.execute(this.storage, this.tasks); - - } - } diff --git a/src/test/java/moimoi/util/command/DeleteTest.java b/src/test/java/moimoi/util/command/DeleteTest.java index 393514ce88..22e85ef859 100644 --- a/src/test/java/moimoi/util/command/DeleteTest.java +++ b/src/test/java/moimoi/util/command/DeleteTest.java @@ -75,11 +75,4 @@ public void execute_invalidIndex_invalidIndexExceptionThrown() { } - @Test - public void execute_validIndex_success() throws Exception { - this.tasks.add(this.task); - DeleteCommand deleteCommand = new DeleteCommand("1"); - deleteCommand.execute(this.storage, this.tasks); - } - } diff --git a/src/test/java/moimoi/util/command/MarkCommandTest.java b/src/test/java/moimoi/util/command/MarkCommandTest.java index bd716e3f8e..a5c6b2e02a 100644 --- a/src/test/java/moimoi/util/command/MarkCommandTest.java +++ b/src/test/java/moimoi/util/command/MarkCommandTest.java @@ -75,11 +75,4 @@ public void execute_invalidIndex_invalidIndexExceptionThrown() { } - @Test - public void execute_validIndex_success() throws Exception { - this.tasks.add(this.task); - MarkCommand markCommand = new MarkCommand("1"); - markCommand.execute(this.storage, this.tasks); - } - } diff --git a/src/test/java/moimoi/util/command/UnmarkCommandTest.java b/src/test/java/moimoi/util/command/UnmarkCommandTest.java index 6157874506..84d2483455 100644 --- a/src/test/java/moimoi/util/command/UnmarkCommandTest.java +++ b/src/test/java/moimoi/util/command/UnmarkCommandTest.java @@ -75,11 +75,4 @@ public void execute_invalidIndex_invalidIndexExceptionThrown() { } - @Test - public void execute_validIndex_success() throws Exception { - this.tasks.add(this.task); - UnmarkCommand unmarkCommand = new UnmarkCommand("1"); - unmarkCommand.execute(this.storage, this.tasks); - } - }