wiki.techinc.nl/tests/phpunit/includes/api/query
thiemowmde 8a9dd67139 Avoid calling overrideConfigValue() multiple times
Same as I7a82951.

overrideConfigValue() and overrideConfigValues() both call
setMwGlobals(), which calls resetServices(). This is surprisingly
expensive. It's much better to call it once with an array.

Change-Id: I4ff2f6b902b1a1e0b554ce6fc76f3b612f703fae
2023-07-20 14:59:42 +02:00
..
ApiQueryAllPagesTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
ApiQueryAllRevisionsTest.php
ApiQueryBasicTest.php tests: Use Title::makeTitle instead of Title::newFromText 2022-09-23 21:53:11 +02:00
ApiQueryBlockInfoTraitTest.php Simplify WHERE conditions with field = '' OR IS NULL 2023-07-01 22:17:42 +02:00
ApiQueryBlocksTest.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
ApiQueryContinue2Test.php
ApiQueryContinueTest.php
ApiQueryContinueTestBase.php Use native array_column() in tests instead of loops 2022-08-16 15:41:14 +02:00
ApiQueryDisabledTest.php
ApiQueryImageInfoTest.php phpunit: improve isolation by calling User::clearInstanceCache 2022-12-04 15:21:30 +01:00
ApiQueryInfoTest.php Expose automatic temporary user info in the API 2023-04-28 01:42:59 +02:00
ApiQueryLanguageinfoTest.php tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
ApiQueryPrefixSearchTest.php tests: Make some PHPUnit data providers static 2023-05-20 01:05:27 +02:00
ApiQueryRecentChangesIntegrationTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
ApiQueryRevisionsTest.php tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
ApiQuerySearchTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
ApiQuerySiteinfoTest.php Avoid calling overrideConfigValue() multiple times 2023-07-20 14:59:42 +02:00
ApiQueryTest.php tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
ApiQueryTestBase.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
ApiQueryTokensTest.php
ApiQueryUserContribsTest.php api tests: Call editPage() with WikiPage when used for same page 2023-06-24 18:07:34 +00:00
ApiQueryUserInfoTest.php Replace deprecated MWException 2023-06-09 17:21:12 +02:00
ApiQueryWatchlistIntegrationTest.php API tests: Assert error codes, not error messages 2023-04-26 19:36:29 +02:00
ApiQueryWatchlistRawIntegrationTest.php tests: Make some PHPUnit data providers static 2023-05-20 01:05:27 +02:00