-
Notifications
You must be signed in to change notification settings - Fork 76
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
HJ-338 added sorting for system.privacy_declarations and a test to verify #5683
HJ-338 added sorting for system.privacy_declarations and a test to verify #5683
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
fides Run #11928
Run Properties:
|
Project |
fides
|
Branch Review |
refs/pull/5683/merge
|
Run status |
Passed #11928
|
Run duration | 00m 47s |
Commit |
dcc4fbadbe ℹ️: Merge a30ba725fef02478df2f0cbae6c00236c11b8c93 into 1174c2c31153f92fc6b07b955b62...
|
Committer | JadeWibbels |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
5
|
Upgrade your plan to view test results. | |
View all changes introduced in this branch ↗︎ |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5683 +/- ##
==========================================
+ Coverage 86.85% 87.14% +0.29%
==========================================
Files 388 388
Lines 24050 24050
Branches 2595 2595
==========================================
+ Hits 20888 20959 +71
+ Misses 2608 2529 -79
- Partials 554 562 +8 ☔ View full report in Codecov by Sentry. |
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.
LGTM! Thanks for adding both tests 😄
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.
Update for flaky test.
fides Run #11931
Run Properties:
|
Project |
fides
|
Branch Review |
main
|
Run status |
Passed #11931
|
Run duration | 00m 46s |
Commit |
a51da8fc11: HJ-338 added sorting for system.privacy_declarations and a test to verify (#5683...
|
Committer | JadeWibbels |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
5
|
Upgrade your plan to view test results. | |
View all changes introduced in this branch ↗︎ |
Closes #HJ-338
Description Of Changes
Added an
order_by
onname
to theSystem.privacy_declarations
model. Added a test to verify that the privacy declarations will be in alphabetical order.Code Changes
order_by=PrivacyDeclaration.name
toSystem
model.Steps to Confirm
GET /api/vi/system
endpoint.[ ] Verify that for each system all
privacy_declarations
are alphabetical by name.Pre-Merge Checklist
CHANGELOG.md
updatedmain
downgrade()
migration is correct and works