Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
guyca committed Mar 26, 2020
1 parent 52bcd5b commit 68e4c4b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public void onSuccess(String childId) {

@Test
public void dismissAllModal_resolvesPromiseSuccessfullyWhenCalledBeforeRootIsSet() {
CommandListenerAdapter spy = new CommandListenerAdapter();
CommandListenerAdapter spy = spy(new CommandListenerAdapter());
uut.dismissAllModals(null, Options.EMPTY, spy);
verify(spy).onSuccess("");
}
Expand Down

0 comments on commit 68e4c4b

Please sign in to comment.