Skip to content

Commit

Permalink
[NO-JIRA] Fix issue related to local variable naming
Browse files Browse the repository at this point in the history
  • Loading branch information
alain-kermis-sonarsource authored and sonartech committed Apr 30, 2024
1 parent 4603efa commit b7c1615
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ public void init_whenSuccessful_redirectsToUrl() {
public void init_whenErrorWhileBuildingScribe_shouldReThrow() {
IllegalStateException exception = new IllegalStateException("GitLab authentication is disabled");
when(scribeFactory.newScribe(any(), any(), any())).thenThrow(exception);

OAuth2IdentityProvider.InitContext initContext = mock(OAuth2IdentityProvider.InitContext.class);
when(initContext.getCallbackUrl()).thenReturn("http://server/callback");

assertThatIllegalStateException()
Expand Down

0 comments on commit b7c1615

Please sign in to comment.