mediawiki-extensions-AbuseF.../tests/phpunit
Petr Pchelko 6aa8f6f67b Do not mock User in TextExtractorTest.
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
2021-01-20 09:32:18 -06:00
..
integration Do not mock User in TextExtractorTest. 2021-01-20 09:32:18 -06:00
unit Increase coverage for more classes 2021-01-17 17:38:58 +00:00
AbuseFilterBlockTest.php Re-enable AbuseFilterBlockTest::testRevert 2021-01-15 13:01:19 +01:00
AbuseFilterConsequencesTest.php Improve function and property documentation 2021-01-16 00:31:09 +01:00
AbuseFilterCreateAccountTestTrait.php Move remaining classes to own namespace 2021-01-04 12:11:58 +01:00
AbuseFilterDBTest.php Introduce subclasses of Filter with specific use cases 2021-01-17 00:47:29 +00:00
AbuseFilterFilterProfilerTest.php Misc coverage improvements 2021-01-15 00:51:16 +00:00
AbuseFilterFilterUserTest.php Add a service to retrieve the filter user 2020-10-26 14:06:53 +01:00
AbuseFilterRowsAndFiltersTestTrait.php Introduce subclasses of Filter with specific use cases 2021-01-17 00:47:29 +00:00
AbuseFilterSaveTest.php Partly reorg integration tests 2021-01-01 15:54:52 +00:00
AbuseFilterUploadTestTrait.php Add test traits for uploads and account creation 2020-10-04 13:16:58 +00:00
ConsequenceGetMessageTestTrait.php Introduce subclasses of Filter with specific use cases 2021-01-17 00:47:29 +00:00
ConsequencesExecutorTest.php Introduce subclasses of Filter with specific use cases 2021-01-17 00:47:29 +00:00
DegroupTest.php Improve coverage around consequences 2021-01-15 00:51:04 +00:00
LazyVariableComputerDBTest.php Improve function and property documentation 2021-01-16 00:31:09 +01:00
RangeBlockTest.php Improve coverage around consequences 2021-01-15 00:51:04 +00:00
RCVariableGeneratorTest.php Improve function and property documentation 2021-01-16 00:31:09 +01:00
SchemaChangesHandlerTest.php Improve coverage for hooks 2021-01-14 22:49:24 +01:00