Skip to content

Commit

Permalink
small change for test
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsbluerose committed Nov 29, 2023
1 parent eab811d commit d30d115
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public void setUp() throws Exception {

@Test
public void getAttributesForUserWhenAttributesFound() throws Exception {

Mockito.when(userPrincipalService.getUserPrincipalByEmail(Mockito.anyString()))
.thenReturn(new UserPrincipal(user));
String auth = AuthServiceImpl.generateAccessToken(user);
Expand Down

0 comments on commit d30d115

Please sign in to comment.