Skip to content

Commit

Permalink
Update ClearCommandTest
Browse files Browse the repository at this point in the history
  • Loading branch information
luminousleek committed Oct 12, 2021
1 parent 70e2f66 commit 34542fc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import org.junit.jupiter.api.Test;

import seedu.address.model.AddressBook;
import seedu.address.model.ModBook;
import seedu.address.model.Model;
import seedu.address.model.ModelManager;
import seedu.address.model.UserPrefs;
Expand All @@ -25,7 +25,7 @@ public void execute_emptyAddressBook_success() {
public void execute_nonEmptyAddressBook_success() {
Model model = new ModelManager(getTypicalAddressBook(), getTypicalModBook(), new UserPrefs());
Model expectedModel = new ModelManager(getTypicalAddressBook(), getTypicalModBook(), new UserPrefs());
expectedModel.setAddressBook(new AddressBook());
expectedModel.setModBook(new ModBook());

assertCommandSuccess(new ClearCommand(), model, ClearCommand.MESSAGE_SUCCESS, expectedModel);
}
Expand Down

0 comments on commit 34542fc

Please sign in to comment.