mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-25 22:45:32 +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 |
||
---|---|---|
.. | ||
integration | ||
unit | ||
AbuseFilterBlockTest.php | ||
AbuseFilterConsequencesTest.php | ||
AbuseFilterCreateAccountTestTrait.php | ||
AbuseFilterDBTest.php | ||
AbuseFilterFilterProfilerTest.php | ||
AbuseFilterFilterUserTest.php | ||
AbuseFilterRowsAndFiltersTestTrait.php | ||
AbuseFilterSaveTest.php | ||
AbuseFilterUploadTestTrait.php | ||
ConsequenceGetMessageTestTrait.php | ||
ConsequencesExecutorTest.php | ||
DegroupTest.php | ||
LazyVariableComputerDBTest.php | ||
RangeBlockTest.php | ||
RCVariableGeneratorTest.php | ||
SchemaChangesHandlerTest.php |