Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(search): Log message when missing search parameter in MockClient, add tests #4604

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Fix query syntax in test
  • Loading branch information
thejwuscript authored and ThatOneBro committed May 28, 2024
commit fcbb91752be121a73197a419e2ed0227c5f312e9
2 changes: 1 addition & 1 deletion packages/app/src/resource/ProfilesPage.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('ProfilesPage', () => {
beforeAll(async () => {
const loadedProfileUrls: string[] = [];
for (const profile of [fishPatientProfile, FishPatientResources.getFishSpeciesExtensionSD()]) {
const sd = await medplum.createResourceIfNoneExist<StructureDefinition>(profile, `url:${profile.url}`);
const sd = await medplum.createResourceIfNoneExist<StructureDefinition>(profile, `url=${profile.url}`);
loadedProfileUrls.push(sd.url);
loadDataType(sd, sd.url);
}
Expand Down