mediawiki-extensions-Echo/tests/phpunit
Daimona Eaytoy f7b0638ff0 Mock DB services in NotificationTest::testNewFromRowWithException
The test doesn't need the database, but it's currently trying to use it.
Mock all services used by EchoDbFactory to avoid that (the Factory
cannot be mocked directly because it's created with a static method and
not injected).

Change-Id: I359489ed3f8de6e868a590d5c7c02f81f0a2049d
2023-08-06 22:48:58 +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 Mock DB services in NotificationTest::testNewFromRowWithException 2023-08-06 22:48:58 +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