Skip to content

Commit

Permalink
Repository fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitolo-Andrea committed Nov 7, 2024
1 parent 5d9ce5a commit bd8c12b
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,17 +268,7 @@ void getConsentStatus_Ko_CitizenNotOnboarded() {
assertEquals("Citizen consent not founded during get process ", exception.getMessage());
}

@Test
void getListEnabledConsents_Ok() {


Mockito.when(citizenRepository.findByFiscalCodeAndTppStateTrue(HASHED_FISCAL_CODE))
.thenReturn(Mono.just(List.of("TPPID")));

List<String> response = citizenService.getTppEnabledList(FISCAL_CODE).block();
assertNotNull(response);
assertEquals(1, response.size());
}

@Test
void getListAllConsents_Ok() {
Expand Down

0 comments on commit bd8c12b

Please sign in to comment.