Skip to content

Commit

Permalink
OAuth2: fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalgrimaud committed Mar 17, 2022
1 parent 6024fd9 commit ad6886b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void shouldAddOAuth2() {
verify(commonSecurityService).updateExceptionTranslator(project);
verify(commonSecurityService).updateIntegrationTestWithMockUser(project);

verify(projectRepository, times(2)).replaceText(any(Project.class), anyString(), anyString(), anyString(), anyString());
verify(projectRepository, times(4)).replaceText(any(Project.class), anyString(), anyString(), anyString(), anyString());
}

@Test
Expand Down

0 comments on commit ad6886b

Please sign in to comment.