diff --git a/src/test/java/seedu/address/logic/commands/ScheduleAddCommandTest.java b/src/test/java/seedu/address/logic/commands/ScheduleAddCommandTest.java index 9d93bf003ef..4939607a0ff 100644 --- a/src/test/java/seedu/address/logic/commands/ScheduleAddCommandTest.java +++ b/src/test/java/seedu/address/logic/commands/ScheduleAddCommandTest.java @@ -92,7 +92,7 @@ public void toStringMethod() { @Test public void getCommandStringTest() { ScheduleAddCommand scheduleAddCommand = new ScheduleAddCommand(MEETING_WITH_ALICE); - String expected = ScheduleAddCommand.COMMAND_WORD; + String expected = "schedule " + ScheduleAddCommand.COMMAND_WORD; assertEquals(expected, scheduleAddCommand.getCommandString()); } /** diff --git a/src/test/java/seedu/address/logic/commands/ScheduleDeleteCommandTest.java b/src/test/java/seedu/address/logic/commands/ScheduleDeleteCommandTest.java index 8efe35beab2..e99d7ab50cf 100644 --- a/src/test/java/seedu/address/logic/commands/ScheduleDeleteCommandTest.java +++ b/src/test/java/seedu/address/logic/commands/ScheduleDeleteCommandTest.java @@ -75,7 +75,7 @@ public void equals() { @Test public void getCommandStringTest() { ScheduleDeleteCommand deleteCommand = new ScheduleDeleteCommand(new Heading(VALID_HEADING_MEETING_WITH_ALICE)); - String expected = ScheduleDeleteCommand.COMMAND_WORD; + String expected = "schedule " + ScheduleDeleteCommand.COMMAND_WORD; assertEquals(expected, deleteCommand.getCommandString()); }