From 48d9e59b603f4eebc6651e049605a2abe838a55a Mon Sep 17 00:00:00 2001 From: Enrico Vianello Date: Thu, 19 Sep 2024 22:40:18 +0200 Subject: [PATCH] Fix sonar issues --- .../webdav/test/oauth/jwk/OidcConfigurationFetcherTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/italiangrid/storm/webdav/test/oauth/jwk/OidcConfigurationFetcherTest.java b/src/test/java/org/italiangrid/storm/webdav/test/oauth/jwk/OidcConfigurationFetcherTest.java index 8630609b..0725f914 100644 --- a/src/test/java/org/italiangrid/storm/webdav/test/oauth/jwk/OidcConfigurationFetcherTest.java +++ b/src/test/java/org/italiangrid/storm/webdav/test/oauth/jwk/OidcConfigurationFetcherTest.java @@ -277,7 +277,7 @@ void fetchJWKEndpointTests() } @Test - void fetchJWKEndpointWithErrorTests() throws RestClientException, IOException { + void fetchJWKEndpointWithErrorTests() throws RestClientException { OidcConfigurationFetcher fetcher = getFetcherWithErrorOnGetJwk(); final URI jwkUri = URI.create(JWK_URI); @@ -292,7 +292,7 @@ void fetchJWKEndpointWithErrorTests() throws RestClientException, IOException { } @Test - void fetchJWKEndpointWithRuntimeException() throws RestClientException, IOException { + void fetchJWKEndpointWithRuntimeException() throws RestClientException { OidcConfigurationFetcher fetcher = getFetcherWithRuntimeExceptionOnGetJwk(); final URI jwkUri = URI.create(JWK_URI);