Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
garaimanoj committed Oct 18, 2024
1 parent 88899f7 commit cd38727
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,7 @@ public void signAupOnBehalfOfUserThatHasNoSignature() throws Exception {
@Test
@WithMockUser(username = "test", roles = {"USER"})
public void testSignAupThrowExceptionForServiceAccount() throws Exception {
IamAup aup = buildDefaultAup();
aupRepo.save(aup);


IamAccount testAccount = accountRepo.findByUsername("test").orElseThrow();
testAccount.setServiceAccount(true);
accountRepo.save(testAccount);
Expand Down

0 comments on commit cd38727

Please sign in to comment.