-
Notifications
You must be signed in to change notification settings - Fork 24
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
psp-7034 add warning when interest holders attached to acquisition pr… #3550
Conversation
✅ No secrets were detected in the code. |
Codecov Report
@@ Coverage Diff @@
## dev #3550 +/- ##
==========================================
- Coverage 69.30% 63.05% -6.25%
==========================================
Files 1370 471 -899
Lines 33538 15040 -18498
Branches 6229 1019 -5210
==========================================
- Hits 23242 9483 -13759
+ Misses 10046 5307 -4739
Partials 250 250
Flags with carried forward coverage won't be shown. Click here to find out more.
|
if (acqFileProperties.PimsTakes.Any() || acqFileProperties.PimsInthldrPropInterests.Any()) | ||
{ | ||
throw new BusinessRuleViolationException(); | ||
throw new BusinessRuleViolationException("You must remove all takes and interest holders from an acquisition file property before removing that property from an acquisition file"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: would love to see a unit test covering this bug fix
…operty being deleted.
e384367
to
4fc9107
Compare
✅ No secrets were detected in the code. |
✅ No secrets were detected in the code. |
…operty being deleted.