Skip to content

Commit

Permalink
Get rid of undo_find test method.
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekwozniak93 committed Nov 2, 2016
1 parent cf2da55 commit 45e1983
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/test/java/seedu/address/logic/LogicManagerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -329,26 +329,6 @@ public void execute_undo_delete_successful() throws Exception {
expectedManager.getTaskList());
}

@Test
public void execute_undo_find_successful() throws Exception {
// setup expectations
TestDataHelper helper = new TestDataHelper();
TaskManager expectedManager = new TaskManager();

//Add task to manager
Task task = helper.homework();
String commadForAdd = helper.generateAddCommand(task);
logic.execute(commadForAdd);
expectedManager.addTask(task);

//Change task
String commadForFind = "find Homework";
logic.execute(commadForFind);

// execute undo command and verify result
assertCommandBehavior(helper.generateUndoCommand(), FindCommand.MESSAGE_SUCCESS_UNDO, expectedManager,
expectedManager.getTaskList());
}
//@@author

/**
Expand Down

0 comments on commit 45e1983

Please sign in to comment.