The data providers ::provideOnAuthManagerLoginAuthenticateAudit, ::provideOnAuthManagerLoginAuthenticateAuditWithCentralAuthInstalled, and ::provideOnAuthManagerLoginAuthenticateAuditNoSave do not correctly generate the test cases. They are supposed to provide test cases that test the code under a variety of values of $wgCheckUserEventTablesMigrationStage, but they fail to do this due to a bug and therefore only test the migration value of SCHEMA_COMPAT_OLD.
These tests should be fixed to ensure that they actually fully cover the code they are testing. They will be fixed if https://doc.wikimedia.org/cover-extensions/CheckUser/src/Hooks.php.html#535 is showing test coverage.
Acceptance criteria
- https://doc.wikimedia.org/cover-extensions/CheckUser/src/Hooks.php.html#535 shows that the code is covered by tests