Skip to content

Commit 89ef446

Browse files
committed
Update test case according to the bug fixed
1 parent 9651ab5 commit 89ef446

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/seedu/address/logic/parser/MainCatalogueParserTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public void parseCommand_list() throws Exception {
100100
@Test
101101
public void parseCommand_start() throws Exception {
102102
StartCommand command = (StartCommand) parser.parseCommand(
103-
StartCommand.COMMAND_WORD + " " + INDEX_FIRST_PROJECT.getOneBased(), Status.PROJECT);
103+
StartCommand.COMMAND_WORD + " " + INDEX_FIRST_PROJECT.getOneBased(), Status.CATALOGUE);
104104
assertEquals(new StartCommand(INDEX_FIRST_PROJECT), command);
105105
}
106106

@@ -171,9 +171,9 @@ public void parseCommand_invalidScope_throwsInvalidScopeException() {
171171

172172
try {
173173
parser.parseCommand(
174-
StartCommand.COMMAND_WORD + " " + INDEX_FIRST_PROJECT.getOneBased(), Status.CATALOGUE);
174+
StartCommand.COMMAND_WORD + " " + INDEX_FIRST_PROJECT.getOneBased(), Status.PROJECT);
175175
} catch (Exception e) {
176-
assertEquals(new InvalidScopeException(Status.PROJECT, Status.CATALOGUE), e);
176+
assertEquals(new InvalidScopeException(Status.CATALOGUE, Status.PROJECT), e);
177177
}
178178

179179
try {

0 commit comments

Comments
 (0)