-
Notifications
You must be signed in to change notification settings - Fork 401
linkify all user names on ratings list; handle an account response with undefined fields #13503
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
Conversation
…th undefined fields
re: covecov error - I've looked but I'm not sure where I'd be adding tests, exactly (codecov claims some of the existing lines in |
Note, the amo api on dev and stage is supposed to be returning an account response that includes all the fields, so it shouldn't be possible to test this with |
AFAICT you have no tests that simulate |
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.
The after is what it will look like once the shim is disabled for v5 - with the shim enabled some of the fields are still returned. i think I'll disable the shim for v5 (different ticket) and update when that's live |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #13503 +/- ##
=======================================
Coverage 98.28% 98.28%
=======================================
Files 267 267
Lines 10610 10617 +7
Branches 3233 3240 +7
=======================================
+ Hits 10428 10435 +7
Misses 169 169
Partials 13 13 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
mozilla/addons-server#23223 removes the shim for v5 - the testing will be accurate after that PR is merged and on addons-dev |
Fixes mozilla/addons#15403
Shows user account links for all ratings, and hides the fields that won't be present on the user profile page.
profile page
before

(before mozilla/addons#15402 changed the API it would have been a 404)
after

ratings
before


after