Skip to content

Commit

Permalink
Revert "Include missing mocks (#11714)" (#11715)
Browse files Browse the repository at this point in the history
This reverts commit 9fc1ba9.
  • Loading branch information
dsilvam authored May 25, 2017
1 parent 9fc1ba9 commit e61e1aa
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,6 @@ public void testLoginAsData() throws Exception {
when( roleAPI.loadCMSAdminRole() ).thenReturn( loginAsRole );
when( roleAPI.doesUserHaveRoles(userId1, rolesId) ).thenReturn( true ) ;
when( roleAPI.doesUserHaveRoles(userId2, rolesId) ).thenReturn( false ) ;
when( roleAPI.findRoleByFQN(Role.SYSTEM + " --> " + Role.LOGIN_AS) ).thenReturn( loginAsRole ) ;
when( roleAPI.doesUserHaveRole(user3, loginAsRole) ).thenReturn( true ) ;
when( webResource.init(null, true, request, true, null)).thenReturn(initDataObject);
when( initDataObject.getUser()).thenReturn(user3);

Expand Down

0 comments on commit e61e1aa

Please sign in to comment.