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

Addresses issue with delete CustomSearch parameter, adds back one ValidateTest #2133

Merged
merged 5 commits into from
Aug 2, 2021

Conversation

feordin
Copy link
Contributor

@feordin feordin commented Aug 2, 2021

Description

Addresses the delete failure with CustomSearch parameters. Adds back one missing test case on Validate tests

Related issues

Addresses [issue AB#82428].

Testing

Reran the branch against CI environment

FHIR Team Checklist

  • Update the title of the PR to be succinct and less than 50 characters
  • Add a milestone to the PR for the sprint that it is merged (i.e. add S47)
  • Tag the PR with the type of update: Bug, Dependencies, Enhancement, or New-Feature
  • Tag the PR with Azure API for FHIR if this will release to the managed service
  • Review squash-merge requirements

Semver Change (docs)

Patch|Skip|Feature|Breaking (reason)
Skip

@feordin feordin added this to the S68 milestone Aug 2, 2021
@feordin feordin requested a review from a team as a code owner August 2, 2021 17:21
@lgtm-com
Copy link

lgtm-com bot commented Aug 2, 2021

This pull request introduces 1 alert when merging 89ae3f3 into de6e518 - view on LGTM.com

new alerts:

  • 1 for Equals on incomparable types

updated.Add(param);
updated.Add(param);
}
else if (!updatedSearchParameterStatus.Where(p => p.Uri.Equals(paramStatus) && p.Status == SearchParameterStatus.Deleted).Any())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

paramStatus

shouldn't this be paramStatus.Uri?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I think this could also be simplified to

else if (!updatedSearchParameterStatus.Any(p => p.Uri.Equals(paramStatus.Uri) && p.Status == SearchParameterStatus.Deleted))

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Good catch.

@feordin feordin merged commit 3e1453b into main Aug 2, 2021
@feordin feordin deleted the personal/jaerwin/enable-tests branch August 2, 2021 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants