wiki.techinc.nl/tests/phpunit/structure
Derick Alangi f00cd03580 tests: Make use of overrideConfig(Value|Values) where needed
As we slowly move away from using globals, overrideConfigValue()
and overrideConfigValues() were introduced as a way to override
test configs between tests.

Under the hood, it just calls setMwGlobals() which resets services,
so take note.

Part 1: Directories covered are: languages/, maintenance/, tests/,
structure/ and includes/Permissions/.

Depends-On: I618b16c6d99c94eb2e7edcf05e888a65f7156754
Change-Id: If56f7d10d79f3a9824a52091a2b544d8653dd7b6
2022-07-11 21:15:26 +01: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 tests: Make use of overrideConfig(Value|Values) where needed 2022-07-11 21:15:26 +01:00
AutoLoaderStructureTest.php Merge "AutoLoader: provide methods for registering classes" 2022-05-10 06:05:52 +00:00
AvailableRightsTest.php
BundleSizeTest.php ResourceLoader namespace (attempt 2) 2022-05-24 15:41:46 +00:00
ContentHandlerFunctionalTest.php Replace deprecated calls ParserOptions::newCanonical( 'canonical' ) 2022-06-16 14:22:24 +01: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
ResourcesTest.php ResourcesTest: fix typo $ilegalDeps 2022-06-22 01:32:55 +00: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 Dynamic defaults: fix $wgLocaltimezone being empty 2022-07-09 18:59:32 +02: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 Revert "phpunit: Default to vendor/bin/phpunit, remove suites.xml" 2022-06-09 14:15:54 +00:00