-
Notifications
You must be signed in to change notification settings - Fork 33
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
use correct status type when enforcing policy #594
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #594 +/- ##
==========================================
+ Coverage 80.20% 82.60% +2.39%
==========================================
Files 64 72 +8
Lines 4492 5416 +924
==========================================
+ Hits 3603 4474 +871
- Misses 600 634 +34
- Partials 289 308 +19
Flags with carried forward coverage won't be shown. Click here to find out more.
|
c7398f4
to
a0d35a5
Compare
a0d35a5
to
e2bbd68
Compare
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.
Changes looks good to me 👍
This is incorrect and should be reverted |
This reverts commit ad84ac6.
Now
Enforced
will be false even on partially enforced records. If there are no ready records it will still say "partially enforced" (which implies it is enforced on some of them which is not true). This will be addressed in #586Adding a check to one of the tests to ensure we are not marking policy as
Enforced - True
when the record is not ready.Aslo a tinny refactor - moved some vars around for convenience