SpecialMWOAuthManageConsumers is the flow that allows OAuth administrators to review and manage approvals, rejections, and other actions for the consumer requests queue. It also lists approved and disabled consumers.
Integration tests would be written to cover related logic in ConsumerSubmitControl for endpoints such as: /approve, /reject, /disable, /reenable, and code that lists the consumer requests queue. Unit tests can be written for self-contained functionality where needed. It's probably possible to use SpecialPageTestBase, since this will involve testing a special page and ApiTestCase for action API-related functionality.
Impact
- Increase coverage of the respective special page: https://doc.wikimedia.org/cover-extensions/OAuth/src/Frontend/SpecialPages/SpecialMWOAuthManageConsumers.php.html
- Increase coverage of submit control classes (T416761)
- Increase in coverage of https://doc.wikimedia.org/cover-extensions/OAuth/src/Control/ConsumerAccessControl.php.html