Skip to content

Commit

Permalink
test: update deleteByQuestionnaireId
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentC35 committed Dec 27, 2024
1 parent d59441d commit 75f8537
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ void deleteExceptionPropagate() throws Exception {
@Test
void deleteQuestionnaireById() throws Exception {
doAnswer(invocationOnMock -> null).when(questionnairesServiceQuery).deleteQuestionnaireByID("foo");
doAnswer(invocationOnMock -> null).when(versionService).deleteVersionsByQuestionnaireId("foo");
doAnswer(invocationOnMock -> null).when(versionService).deleteAllVersionsByQuestionnaireIdExceptLast("foo");
questionnairesService.deleteQuestionnaireByID("foo");
}
}
Expand Down

0 comments on commit 75f8537

Please sign in to comment.