wiki.techinc.nl/tests/phpunit/structure
Kosta Harlan ff63886b0f
phpunit: Do not access MW services in dataProviders
We cannot access MW services in a data provider, as MW will not have
bootstrapped by this point in plain PHPUnit. And we do not want to
bootstrap MW by the time a dataProvider is executing, because unit tests
should not need (nor be able to access) MW services.

Change-Id: I21a5993f91b8fbe3fa476a8244b8911cf81e1d5f
2022-05-30 23:16:06 +02:00
..
AbstractSchemaValidationTest.php Add validation for abstract schema 2022-02-22 17:41:08 +00:00
ApiPrefixUniquenessTest.php api: Inject services into ApiQuery class 2021-09-17 00:57:37 +02:00
ApiStructureTest.php Get the MainConfig from MediaWikiServices instead of RequestContext 2022-05-24 21:54:21 +00:00
AutoLoaderStructureTest.php Merge "AutoLoader: provide methods for registering classes" 2022-05-10 06:05:52 +00:00
AvailableRightsTest.php Remove usages of deprecated Language methods 2020-02-16 00:45:48 +00:00
BundleSizeTest.php ResourceLoader namespace (attempt 2) 2022-05-24 15:41:46 +00:00
ContentHandlerFunctionalTest.php phpunit: Do not access MW services in dataProviders 2022-05-30 23:16:06 +02:00
DatabaseIntegrationTest.php Start clean up of revision_actor_temp table 2022-05-23 15:37:42 +00:00
ExtensionJsonValidationTest.php Cleanup mixed space/tab line indent 2021-09-04 00:52:31 +02:00
PasswordPolicyStructureTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
ResourcesTest.php phpunit: Do not access MW services in dataProviders 2022-05-30 23:16:06 +02:00
RestStructureTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
ScopeStructureTest.php Split out slow ScopeStructureTest for easier paratest parallelization 2022-05-10 11:18:24 +10:00
SettingsTest.php Merge "Settings: Add remaining schema info to config-schema.php" 2022-05-18 21:28:20 +00:00
SpecialPageFatalTest.php phpunit: Do not access MW services in dataProviders 2022-05-30 23:16:06 +02:00
StructureTest.php Use str_starts_with/str_ends_with 2022-05-02 10:59:58 +03:00
SuiteDirectoryTest.php Tests: Start marking some closures as static 2021-02-06 19:57:42 +00:00