mediawiki-extensions-Echo/tests/phpunit
Daimona Eaytoy 713f60aaa5 Avoid DB access in non-Database tests
Use mocks when possible, and add the test to the Database group
otherwise.

Also rename 2 test files to avoid a PHPUnit deprecation of file name not
matching class name.

Change-Id: I16b2392daf01f63511c82b4ed0e67a38e35ddbe1
2023-08-04 02:31:24 +02:00
..
Api Avoid DB access in non-Database tests 2023-08-04 02:31:24 +02:00
Cache Namespace Cache 2022-11-02 16:37:48 -06:00
Controller tests: Make PHPUnit data providers static 2023-05-20 20:36:33 +02:00
Formatters Replace deprecated Language::factory 2022-12-28 20:19:01 +01:00
integration Avoid DB access in non-Database tests 2023-08-04 02:31:24 +02:00
maintenance Avoid DB access in non-Database tests 2023-08-04 02:31:24 +02:00
Mapper Replace remaining usages of deprecated MWException 2023-06-09 02:23:08 +02:00
Model Replace remaining usages of deprecated MWException 2023-06-09 02:23:08 +02:00
revision_txt Ping users mentioned in edit summaries 2018-02-22 12:37:35 -08:00
unit Replace remaining usages of deprecated MWException 2023-06-09 02:23:08 +02:00
ContainmentSetTest.php Fix and disable some phpcs exclusions 2022-11-12 17:58:13 +00:00
DiscussionParserTest.php tests: Make PHPUnit data providers static 2023-05-20 20:36:33 +02:00
EchoHooksTest.php Convert 9 hooks subscribers to HookHandlers 2022-10-31 17:15:17 -06:00
EchoSummaryParserTest.php tests: Make PHPUnit data providers static 2023-05-20 20:36:33 +02:00
MWEchoDbFactoryTest.php Avoid DB access in non-Database tests 2023-08-04 02:31:24 +02:00
MWEchoNotifUserTest.php Avoid DB access in non-Database tests 2023-08-04 02:31:24 +02:00
NotificationsTest.php Namespace Model 2022-11-10 14:25:42 -07:00
NotificationStructureTest.php tests: Make PHPUnit data providers static 2023-05-20 20:36:33 +02:00
ServiceWiringTest.php Avoid DB access in non-Database tests 2023-08-04 02:31:24 +02:00
TalkPageFunctionalTest.php tests: Call editPage() with WikiPage when used for same page 2023-07-15 22:32:16 +02:00
ThankYouEditTest.php tests: Call editPage() with WikiPage when used for same page 2023-07-15 22:32:16 +02:00
UnreadWikisTest.php Use PHPUnit's shortcuts where it makes sense 2022-10-26 11:53:57 +02:00
UserLocatorTest.php tests: Make PHPUnit data providers static 2023-05-20 20:36:33 +02:00