mediawiki-extensions-AbuseF.../tests/phpunit/integration
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
..
Maintenance Increase coverage for more classes 2021-01-17 17:38:58 +00:00
Parser Create a dedicated namespace for variables-related classes 2021-01-02 18:16:48 +01:00
Special DI for AbuseFilterSpecialPage 2021-01-02 11:13:41 +01:00
AbuseFilterServicesTest.php Partly reorg integration tests 2021-01-01 15:54:52 +00:00
EchoNotifierTest.php Introduce subclasses of Filter with specific use cases 2021-01-17 00:47:29 +00:00
TextExtractorTest.php Do not mock User in TextExtractorTest. 2021-01-20 09:32:18 -06:00