From 1a543aea4de8ccf93df931454b976239ad2ae46b Mon Sep 17 00:00:00 2001 From: "joel.tazzari" Date: Fri, 17 Apr 2026 09:32:54 +0200 Subject: [PATCH] pre-commit fix --- .../oauth2/keycloak/KeycloakOAuth2ProviderTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/user-authenticators/oauth2/src/test/java/org/apache/cloudstack/oauth2/keycloak/KeycloakOAuth2ProviderTest.java b/plugins/user-authenticators/oauth2/src/test/java/org/apache/cloudstack/oauth2/keycloak/KeycloakOAuth2ProviderTest.java index 6346efa9f13..df390f449ca 100644 --- a/plugins/user-authenticators/oauth2/src/test/java/org/apache/cloudstack/oauth2/keycloak/KeycloakOAuth2ProviderTest.java +++ b/plugins/user-authenticators/oauth2/src/test/java/org/apache/cloudstack/oauth2/keycloak/KeycloakOAuth2ProviderTest.java @@ -106,7 +106,7 @@ public class KeycloakOAuth2ProviderTest { @Test(expected = CloudRuntimeException.class) public void testVerifyCodeAndFetchEmailNetworkFailure() throws IOException { when(oauthProviderDao.findByProvider("keycloak")).thenReturn(mockProviderVO); - when(httpClient.execute(any(HttpPost.class))).thenThrow(new IOException("Connexion refusée")); + when(httpClient.execute(any(HttpPost.class))).thenThrow(new IOException("Connection refused")); provider.verifyCodeAndFetchEmail("code"); } @@ -222,4 +222,4 @@ public class KeycloakOAuth2ProviderTest { public void testGetDescription() { assertEquals("Keycloak OAuth2 Provider Plugin", provider.getDescription()); } -} \ No newline at end of file +}