Description
When built-in objects' labels change, this sometimes affects test outputs downstream. This MR contains several changes caused by such a situation. We should either isolate these tests from trivial upstream label changes or make it easy to regenerate the outputs (e.g., with --regenerate-output, as we do elsewhere in this repository).
Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)
- test flake, or its consequences, are reduced
- there is a way to regenerate these test outputs easily, or the test outputs don't need to change due to upstream changes
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Back-end_Task/Bug_completion_checklist