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

Commit

Permalink
Fix failing test due to changed mock expectations.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Munoz committed Mar 14, 2012
1 parent a179f0d commit a67df62
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -54,6 +54,8 @@
import org.zanata.dao.TextFlowTargetHistoryDAO;
import org.zanata.model.HAccount;
import org.zanata.model.HDocument;
import org.zanata.model.HLocale;
import org.zanata.model.HProject;
import org.zanata.model.HProjectIteration;
import org.zanata.rest.RestUtil;
import org.zanata.rest.StringSet;
Expand Down Expand Up @@ -1007,7 +1009,7 @@ private void simulateWebEditorTranslation(String projectSlug, String iterationSl
expect( transWorkspace.getWorkspaceContext() ).andReturn( workspaceContext );
mockIdentity.checkLoggedIn();
expectLastCall();
mockIdentity.checkPermission(anyObject(), anyObject(String.class));
mockIdentity.checkPermission(anyObject(String.class), anyObject(HLocale.class), anyObject(HProject.class));
expectLastCall();
transWorkspace.publish( anyObject(SessionEventData.class) );
expectLastCall();
Expand Down

0 comments on commit a67df62

Please sign in to comment.