Fix test
This commit is contained in:
parent
e15825b336
commit
bf37d1db74
|
@ -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)));
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue