Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
jerqi committed Oct 18, 2024
1 parent 075d1e0 commit 4c975c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public void testGrantRolesToUser() {
Assertions.assertEquals(ErrorConstants.NOT_FOUND_CODE, errorResponse.getCode());
Assertions.assertEquals(NoSuchUserException.class.getSimpleName(), errorResponse.getType());

// Test to throw NoSuchRoleException
// Test to throw IllegalRoleException
doThrow(new IllegalRoleException("mock error"))
.when(manager)
.grantRolesToUser(any(), any(), any());
Expand Down

0 comments on commit 4c975c5

Please sign in to comment.