Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-sl-eng committed Oct 12, 2012
1 parent 293c0fd commit f4f0704
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -192,7 +192,7 @@ public void testRegisterEditorActionKeys()
// by default user config settings
when(messages.saveAsFuzzy()).thenReturn("save fuzzy");
when(messages.saveAsApproved()).thenReturn("save approved");
when(messages.editCancelShortcut()).thenReturn("cancel");
when(messages.cancelChanges()).thenReturn("cancel");
when(messages.copyFromSource()).thenReturn("copy from source");

keyShortcuts.registerEditorActionKeys(targetContentsPresenter);
Expand All @@ -212,7 +212,7 @@ public void registerEditorActionKeysAfterChangeUserConfig()
when(messages.saveAsFuzzy()).thenReturn("save fuzzy");
when(messages.saveAsApproved()).thenReturn("save approved");
when(messages.copyFromSource()).thenReturn("copy from source");
when(messages.editCancelShortcut()).thenReturn("cancel");
when(messages.cancelChanges()).thenReturn("cancel");

configHolder.setEnterSavesApproved(true);

Expand Down

0 comments on commit f4f0704

Please sign in to comment.