From 176da36fbea6f5ca05ec225b3314d31d903383b5 Mon Sep 17 00:00:00 2001 From: antoniocalo Date: Thu, 12 Dec 2024 16:32:36 +0100 Subject: [PATCH] fix unit test --- .../payhub/pdnd/anpr/controller/PdndServiceControllerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/it/gov/pagopa/payhub/pdnd/anpr/controller/PdndServiceControllerTest.java b/src/test/java/it/gov/pagopa/payhub/pdnd/anpr/controller/PdndServiceControllerTest.java index cd08dc5..d7a0c7a 100644 --- a/src/test/java/it/gov/pagopa/payhub/pdnd/anpr/controller/PdndServiceControllerTest.java +++ b/src/test/java/it/gov/pagopa/payhub/pdnd/anpr/controller/PdndServiceControllerTest.java @@ -43,7 +43,7 @@ void givenValidFiscalCodeWhenGetCitizenDataThenReturnCitizenDetails() throws Exc Mockito.when(pdndService.getCitizenData(fiscalCode)).thenReturn(citizen); - mockMvc.perform(get("/p4papdnd/anpr-service-e002/citizen") + mockMvc.perform(get("/anpr-service-e002/citizen") .param("fiscalCode", fiscalCode)) .andExpect(status().isOk()) .andExpect(jsonPath("$.firstName").value("Julieta"))