diff --git a/connector/rest/src/test/java/it/pagopa/selfcare/mscore/connector/rest/PartyRegistryProxyConnectorImplTest.java b/connector/rest/src/test/java/it/pagopa/selfcare/mscore/connector/rest/PartyRegistryProxyConnectorImplTest.java index 921afe38c..f7bf3bb2d 100644 --- a/connector/rest/src/test/java/it/pagopa/selfcare/mscore/connector/rest/PartyRegistryProxyConnectorImplTest.java +++ b/connector/rest/src/test/java/it/pagopa/selfcare/mscore/connector/rest/PartyRegistryProxyConnectorImplTest.java @@ -570,7 +570,6 @@ void getASFromIvass() { void getASFromIvassNotFound() { //given String ivassCode = "ivassCode"; - when(partyRegistryProxyRestClient._searchByOriginIdUsingGET(anyString())).thenThrow(ResourceNotFoundException.class); when(partyRegistryProxyRestClient._searchByOriginIdUsingGET(anyString())).thenReturn(null); //when