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);