Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
antocalo committed Dec 12, 2024
1 parent 4da1cc8 commit 176da36
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 176da36

Please sign in to comment.