aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/api/ApiUploadTestCase.php
diff options
context:
space:
mode:
authorJames D. Forrester <jforrester@wikimedia.org>2017-11-20 15:50:22 -0800
committerKrinkle <krinklemail@gmail.com>2018-04-18 00:30:34 +0000
commit225b462a50b545b1f100e0d51a6070b0766ce12a (patch)
tree039b6d0024cecaead80fdee45dd32abd77041b52 /tests/phpunit/includes/api/ApiUploadTestCase.php
parent30ba8f52dc8827578ec7901207c9cbd00e44b76a (diff)
downloadmediawikicore-225b462a50b545b1f100e0d51a6070b0766ce12a.tar.gz
mediawikicore-225b462a50b545b1f100e0d51a6070b0766ce12a.zip
Drop deprecated EnableAPI and EnableWriteAPI settings
The siteinfo API response's 'writeapi' value is now hard-set to true, as are the ResourceLoader variables wgEnableAPI and wgEnableWriteAPI, to be deprecated later. Bug: T115414 Change-Id: I54ff9428b247ba203d67aba079149393f323d5a9
Diffstat (limited to 'tests/phpunit/includes/api/ApiUploadTestCase.php')
-rw-r--r--tests/phpunit/includes/api/ApiUploadTestCase.php1
1 files changed, 0 insertions, 1 deletions
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();