This commit is contained in:
jamesagnew 2020-04-08 19:54:54 -04:00
parent c0df88739a
commit 96a4eff38e
1 changed files with 2 additions and 2 deletions

View File

@ -547,8 +547,8 @@ public class FhirResourceDaoR4UniqueSearchParamTest extends BaseJpaR4Test {
assertThat(toUnqualifiedVersionlessIdValues(outcome), containsInAnyOrder(srId));
unformattedSql = myCaptureQueriesListener.getSelectQueriesForCurrentThread().get(0).getSql(true, false);
assertThat(unformattedSql, stringContainsInOrder(
"SRC_PATH in ('ServiceRequest.subject.where(resolve() is Patient)')",
"SRC_PATH in ('ServiceRequest.performer')"
"SRC_PATH='ServiceRequest.subject.where(resolve() is Patient)'",
"SRC_PATH='ServiceRequest.performer'"
));
assertThat(unformattedSql, not(containsString(("RES_DELETED_AT"))));
assertThat(unformattedSql, not(containsString(("RES_TYPE"))));