wiki.techinc.nl/tests/phpunit/includes/api
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
..
format tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
query Avoid calling overrideConfigValue() multiple times 2023-07-20 14:59:42 +02:00
Validator tests: Make some PHPUnit data providers static 2023-05-20 01:05:27 +02:00
ApiBaseTest.php api: include parameter name in error details for toomanyvalues error 2023-06-03 17:39:08 +05:30
ApiBlockInfoTraitTest.php api: include details of email and own talk block 2023-05-30 02:13:13 +05:30
ApiBlockTest.php Avoid calling overrideConfigValue() multiple times 2023-07-20 14:59:42 +02:00
ApiChangeContentModelTest.php API tests: Assert error codes, not error messages 2023-04-26 19:36:29 +02:00
ApiCheckTokenTest.php
ApiClearHasMsgTest.php
ApiComparePagesTest.php api tests: Call editPage() with WikiPage when used for same page 2023-06-24 18:07:34 +00:00
ApiContinuationManagerTest.php API tests: Assert error codes, not error messages 2023-04-26 19:36:29 +02:00
ApiCSPReportTest.php
ApiDeleteTest.php API tests: Assert error codes, not error messages 2023-04-26 19:36:29 +02:00
ApiDisabledTest.php API tests: Assert error codes, not error messages 2023-04-26 19:36:29 +02:00
ApiEditPageTest.php tests: Migrate calls to Database::update to UpdateQueryBuilder 2023-07-14 15:40:11 +02:00
ApiErrorFormatterTest.php Just another 80 or so PHPStorm inspection fixes (#4) 2023-03-25 00:39:06 +00:00
ApiLoginTest.php Fix even more PHPStorm inspections (#3) 2023-03-25 00:30:15 +00:00
ApiLogoutTest.php API tests: Assert error codes, not error messages 2023-04-26 19:36:29 +02:00
ApiMainTest.php tests: Replace deprecated calls to wfExpandUrl with hard-coded url 2023-06-23 17:23:18 +00:00
ApiMessageTest.php tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
ApiMoveTest.php API tests: Assert error codes, not error messages 2023-04-26 19:36:29 +02:00
ApiOpenSearchTest.php API: Replace deprecated calls to wfExpandUrl with UrlUtils::expand 2023-06-22 16:49:01 -04:00
ApiOptionsTest.php Replace substr with cleaner string methods 2023-05-20 15:40:21 +02:00
ApiPageSetTest.php ApiPageSetTest: Rewrite tests using pig-latin and fix typos 2023-05-03 00:42:57 +08:00
ApiParseTest.php api tests: Call editPage() with WikiPage when used for same page 2023-06-24 18:07:34 +00:00
ApiProtectTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
ApiPurgeTest.php
ApiResultTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
ApiRevisionDeleteTest.php API tests: Assert error codes, not error messages 2023-04-26 19:36:29 +02:00
ApiRollbackTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
ApiSetNotificationTimestampIntegrationTest.php build: Updating mediawiki/mediawiki-codesniffer to 41.0.0 2023-03-11 19:04:09 +00:00
ApiStashEditTest.php Make ApiStashEditTest work if temp users are enabled 2023-07-16 16:22:27 +02:00
ApiTestCase.php tests: Avoid array_combine in ApiTestCase::doApiRequest 2023-04-28 17:17:03 +02:00
ApiTestContext.php
ApiUnblockTest.php API tests: Assert error codes, not error messages 2023-04-26 19:36:29 +02:00
ApiUndeleteTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
ApiUploadTest.php API tests: Assert error codes, not error messages 2023-04-26 19:36:29 +02:00
ApiUploadTestCase.php Follow-up 0f13e81a1: Fix namespace of FileDeleteForm 2023-03-09 15:27:10 -05:00
ApiUsageExceptionTest.php
ApiUserrightsTest.php tests: Make some PHPUnit data providers static 2023-05-20 01:05:27 +02:00
ApiWatchTest.php API tests: Assert error codes, not error messages 2023-04-26 19:36:29 +02:00
generateRandomImages.php
MockApi.php
MockApiQueryBase.php
RandomImageGenerator.php Fix even more PHPStorm inspections (#3) 2023-03-25 00:30:15 +00:00