mediawiki-extensions-Discus.../tests/phpunit
Bartosz Dziewoński 70022c4cee Avoid global state in tests involving CommentParser
Instead of setting global configuration variables, we create a custom
config object and all the other dependencies and pass them to the
CommentParser instead of the defaults.

Depends-On: I8d374b51511a2873dce646aa453c5e0e2c076a14
Change-Id: I9dfccc833d3e2695cf1d1f7bbee4b68eae9a8c25
2023-12-11 22:19:14 +01:00
..
integration Avoid global state in tests involving CommentParser 2023-12-11 22:19:14 +01:00
unit Create HookRunner class and the hook handler interface 2023-06-04 20:12:56 +02:00
CommentFormatterTest.php Avoid global state in tests involving CommentParser 2023-12-11 22:19:14 +01:00
CommentModifierTest.php Avoid global state in tests involving CommentParser 2023-12-11 22:19:14 +01:00
CommentParserTest.php Avoid global state in tests involving CommentParser 2023-12-11 22:19:14 +01:00
CommentUtilsTest.php Avoid global state in tests involving CommentParser 2023-12-11 22:19:14 +01:00
ContentThreadItemTest.php Avoid global state in tests involving CommentParser 2023-12-11 22:19:14 +01:00
EventDispatcherTest.php Avoid global state in tests involving CommentParser 2023-12-11 22:19:14 +01:00
IntegrationTestCase.php Avoid global state in tests involving CommentParser 2023-12-11 22:19:14 +01:00
LanguageDataTest.php tests: Make PHPUnit data providers static 2023-05-20 15:57:13 +02:00
MockCommentFormatter.php Use namespaced classes 2023-12-11 16:38:02 +01:00
MockEventDispatcher.php Use namespaced Title 2023-08-19 20:16:15 +02:00
MockLanguageData.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
MockSubscriptionStore.php Add various, more specific type hints 2023-06-09 13:44:42 +02:00
ServiceWiringTest.php tests: Make PHPUnit data providers static 2023-05-20 15:57:13 +02:00
TestUtils.php Avoid global state in tests involving CommentParser 2023-12-11 22:19:14 +01:00
ThreadItemStoreTest.php WikiImporter: Pass Authority for permissions instead of global context 2023-12-08 22:16:16 +01:00