diff --git a/src/test/java/org/prebid/cache/handlers/PostCacheHandlerTests.java b/src/test/java/org/prebid/cache/handlers/PostCacheHandlerTests.java index b5386f6..2004470 100644 --- a/src/test/java/org/prebid/cache/handlers/PostCacheHandlerTests.java +++ b/src/test/java/org/prebid/cache/handlers/PostCacheHandlerTests.java @@ -246,7 +246,7 @@ void testAuthorization() { given(apiConfig.isCacheWriteSecured()).willReturn(true); given(apiConfig.getApiKey()).willReturn("api-key"); - var handler = new PostCacheHandler( + final var handler = new PostCacheHandler( repository, cacheConfig, metricsRecorder, @@ -255,7 +255,7 @@ void testAuthorization() { samplingRate, apiConfig); - var request = MockServerRequest.builder() + final var request = MockServerRequest.builder() .method(HttpMethod.POST) .build();