flake8
passed.
JSHint
passed.
Review Request #14295 — Created Jan. 16, 2025 and updated
As the User Details support evolved, some unit tests regressed. We were
making assumptions thatHttpRequest.local_site
would exist, and this
isn't always the case in unit tests. Some tests also weren't updated for
the newget_user_badges()
signature.This change updates the logic to conditionally fetch this information
and to update unit tests for the modern function signature.
All unit tests pass.
Summary | ID |
---|---|
386a7bb71b7fc5e1dd529a6c246bdd916f6db209 |