This commit is contained in:
Tadgh 2021-05-05 15:36:20 -04:00
parent e15825b336
commit bf37d1db74
1 changed files with 3 additions and 1 deletions

View File

@ -73,6 +73,7 @@ import static org.hamcrest.Matchers.contains;
import static org.hamcrest.Matchers.containsInAnyOrder;
import static org.hamcrest.Matchers.containsString;
import static org.hamcrest.Matchers.empty;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.hasItems;
import static org.hamcrest.Matchers.not;
@ -1543,8 +1544,9 @@ public class FhirResourceDaoR4SearchCustomSearchParamTest extends BaseJpaR4Test
//Then
SearchParameterMap searchParameterMap = new SearchParameterMap();
searchParameterMap.setLoadSynchronous(true);
searchParameterMap.add("random-extension", new TokenParam("true"));
searchParameterMap.add("random-extension", new ReferenceParam("Practitioner/P123"));
IBundleProvider search = myPractitionerRoleDao.search(searchParameterMap);
assertThat(search.size(), is(equalTo(1)));
}