diff options
Diffstat (limited to 'tests/phpunit')
-rw-r--r-- | tests/phpunit/includes/OutputPageTest.php | 1 | ||||
-rw-r--r-- | tests/phpunit/includes/api/ApiTestCaseUpload.php | 1 | ||||
-rw-r--r-- | tests/phpunit/includes/api/ApiUploadTestCase.php | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/tests/phpunit/includes/OutputPageTest.php b/tests/phpunit/includes/OutputPageTest.php index 88c585fe5cfc..81bbcd7ea419 100644 --- a/tests/phpunit/includes/OutputPageTest.php +++ b/tests/phpunit/includes/OutputPageTest.php @@ -673,7 +673,6 @@ class OutputPageTest extends MediaWikiTestCase { $context->setConfig( new HashConfig( $config + [ 'AppleTouchIcon' => false, 'DisableLangConversion' => true, - 'EnableAPI' => false, 'EnableCanonicalServerLink' => false, 'Favicon' => false, 'Feed' => false, diff --git a/tests/phpunit/includes/api/ApiTestCaseUpload.php b/tests/phpunit/includes/api/ApiTestCaseUpload.php index 3670fad846cd..a4ff1f0e90cb 100644 --- a/tests/phpunit/includes/api/ApiTestCaseUpload.php +++ b/tests/phpunit/includes/api/ApiTestCaseUpload.php @@ -4,5 +4,4 @@ * For backward compatibility since 1.31 */ abstract class ApiTestCaseUpload extends ApiUploadTestCase { - } diff --git a/tests/phpunit/includes/api/ApiUploadTestCase.php b/tests/phpunit/includes/api/ApiUploadTestCase.php index 3c7efd57682b..cf56052a55c8 100644 --- a/tests/phpunit/includes/api/ApiUploadTestCase.php +++ b/tests/phpunit/includes/api/ApiUploadTestCase.php @@ -12,7 +12,6 @@ abstract class ApiUploadTestCase extends ApiTestCase { $this->setMwGlobals( [ 'wgEnableUploads' => true, - 'wgEnableAPI' => true, ] ); $this->clearFakeUploads(); |