- Notifications
You must be signed in to change notification settings - Fork675
fix(cli): project-merge-request-approval-rule#2066
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
35f1f61 to5f9d1dcCompare
nejch left a comment
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.
Thanks@JohnVillalovos! Just a quick question there, and I'll just check a bit later today what that other method is doing with the custom ID.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
5f9d1dc toed3c342CompareUsing the CLI the command: gitlab project-merge-request-approval-rule list --mr-iid 1 --project-id foo/barWould raise an exception. This was due to the fact that `_id_attr` and`_repr_attr` were set for keys which are not returned in the response.Add a unit test which shows the `repr` function now works. Before itdid not.This is an EE feature so we can't functional test it.Closes:#2065
ed3c342 to15a242cComparecodecov-commenter commentedJun 18, 2022 • edited by codecovbot
Loading Uh oh!
There was an error while loading.Please reload this page.
edited by codecovbot
Uh oh!
There was an error while loading.Please reload this page.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@## main #2066 +/- ##==========================================+ Coverage 94.62% 94.64% +0.02%========================================== Files 78 78 Lines 4983 5002 +19 ==========================================+ Hits 4715 4734 +19 Misses 268 268
Flags with carried forward coverage won't be shown.Click here to find out more.
|
Uh oh!
There was an error while loading.Please reload this page.
Using the CLI the command:
gitlab project-merge-request-approval-rule list --mr-iid 1 --project-id foo/bar
Would raise an exception. This was due to the fact that
_id_attrand_repr_attrwere set for keys which are not returned in the response.Add a unit test which shows the
reprfunction now works. Before itdid not.
This is an EE feature so we can't functional test it.
Closes:#2065