Skip to content

Commit

Permalink
reverted test testDirectPathWholeResourceNotIndexedWorks in FhirResou…
Browse files Browse the repository at this point in the history
…rceDaoR4SearchWithElasticSearchIT
  • Loading branch information
Long Ma committed Jul 23, 2024
1 parent 50ddb7e commit d8c8912
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,10 @@ public void testDirectPathWholeResourceNotIndexedWorks() {
// set it after creating resource, so search doesn't find it in the index
myStorageSettings.setStoreResourceInHSearchIndex(true);

List<IBaseResource> result = searchForFastResources("Observation?code=theCode&_count=10&_total=accurate");
myCaptureQueriesListener.clear();

List<IBaseResource> result = searchForFastResources("Observation?code=theCode");
myCaptureQueriesListener.logSelectQueriesForCurrentThread();

assertThat(result).hasSize(1);
assertEquals(((Observation) result.get(0)).getIdElement().getIdPart(), id1.getIdPart());
Expand Down

0 comments on commit d8c8912

Please sign in to comment.