Skip to content

Commit

Permalink
removed unnecessary mock from FhirQuestionnaireServiceImplTest
Browse files Browse the repository at this point in the history
  • Loading branch information
icrc-loliveira committed Jul 17, 2024
1 parent 0d1c9d4 commit 617d5c6
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ public void getQuestionnaireEverything_shouldReturnAllInformationAboutSpecifiedQ
.addParameter(FhirConstants.COMMON_SEARCH_HANDLER, FhirConstants.ID_PROPERTY, questionnaireId);

when(dao.getSearchResults(any())).thenReturn(Collections.singletonList(form));
when(dao.getSearchResultsCount(any())).thenReturn(1);
when(questionnaireTranslator.toFhirResource(form)).thenReturn(fhirQuestionnaire);
when(searchQuery.getQueryResults(any(), any(), any(), any())).thenReturn(new SearchQueryBundleProvider<>(theParams,
dao, questionnaireTranslator, globalPropertyService, searchQueryInclude));
Expand Down

0 comments on commit 617d5c6

Please sign in to comment.