From b7c16152a0fa0214811985a8a5279fb9bc2ba09a Mon Sep 17 00:00:00 2001 From: Alain Kermis Date: Mon, 29 Apr 2024 18:32:32 +0200 Subject: [PATCH] [NO-JIRA] Fix issue related to local variable naming --- .../java/org/sonar/auth/gitlab/GitLabIdentityProviderTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/sonar-auth-gitlab/src/test/java/org/sonar/auth/gitlab/GitLabIdentityProviderTest.java b/server/sonar-auth-gitlab/src/test/java/org/sonar/auth/gitlab/GitLabIdentityProviderTest.java index e8316171d97a..4bbae15778a1 100644 --- a/server/sonar-auth-gitlab/src/test/java/org/sonar/auth/gitlab/GitLabIdentityProviderTest.java +++ b/server/sonar-auth-gitlab/src/test/java/org/sonar/auth/gitlab/GitLabIdentityProviderTest.java @@ -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()