mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-12-02 01:26:34 +00:00
6aa8f6f67b
In I63d9807264d7e2295afef51fc9d982447f92fcbd we are changing how the permission checks are applied for revision, so it uses passed User instance as Authority. However, when user is mocked, the tests are breaking since the new user methods are not mocked. Pass a real user for now to fix the test. Once Authority reaches maturity and is ok to use in extensions, the test should be rewritten to use authority directly. Bug: T271458 Change-Id: Iacab813b253cc6e1439007e573e8ace06645860f |
||
---|---|---|
.. | ||
Maintenance | ||
Parser | ||
Special | ||
AbuseFilterServicesTest.php | ||
EchoNotifierTest.php | ||
TextExtractorTest.php |