diff --git a/src/test/java/it/gov/pagopa/payhub/auth/controller/AuthzControllerTest.java b/src/test/java/it/gov/pagopa/payhub/auth/controller/AuthzControllerTest.java index 83d2c62f..e87c8226 100644 --- a/src/test/java/it/gov/pagopa/payhub/auth/controller/AuthzControllerTest.java +++ b/src/test/java/it/gov/pagopa/payhub/auth/controller/AuthzControllerTest.java @@ -34,7 +34,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.mockito.BDDMockito.willDoNothing; -import static org.mockito.Mockito.doNothing; import static org.mockito.Mockito.doReturn; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*; import static org.springframework.test.web.servlet.result.MockMvcResultHandlers.print; diff --git a/src/test/java/it/gov/pagopa/payhub/auth/repository/ClientRepositoryExtImplTest.java b/src/test/java/it/gov/pagopa/payhub/auth/repository/ClientRepositoryExtImplTest.java index caa06ab1..7eb47f70 100644 --- a/src/test/java/it/gov/pagopa/payhub/auth/repository/ClientRepositoryExtImplTest.java +++ b/src/test/java/it/gov/pagopa/payhub/auth/repository/ClientRepositoryExtImplTest.java @@ -1,8 +1,6 @@ package it.gov.pagopa.payhub.auth.repository; import it.gov.pagopa.payhub.auth.model.Client; -import it.gov.pagopa.payhub.auth.model.Operator; -import it.gov.pagopa.payhub.auth.model.User; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -15,7 +13,7 @@ import org.springframework.data.mongodb.core.query.Query; @ExtendWith(MockitoExtension.class) -public class ClientRepositoryExtImplTest { +class ClientRepositoryExtImplTest { @Mock private MongoTemplate mongoTemplateMock;