Remove unused imports from test classes
authorThiemo Mättig <thiemo.maettig@wikimedia.de>
Tue, 10 Jan 2017 10:49:58 +0000 (11:49 +0100)
committerThiemo Mättig <thiemo.maettig@wikimedia.de>
Tue, 10 Jan 2017 10:49:58 +0000 (11:49 +0100)
Validating this should be as simple as it can be: if the tests run,
this change should be fine. :-)

Change-Id: I8e4a3dfc83fdc9b8c8d7f5bbd067e088ebd2133d

tests/common/TestSetup.php
tests/phpunit/includes/api/ApiOpenSearchTest.php
tests/phpunit/includes/changes/TestRecentChangesHelper.php
tests/phpunit/includes/session/BotPasswordSessionProviderTest.php
tests/phpunit/includes/session/SessionManagerTest.php
tests/phpunit/structure/ExtensionJsonValidationTest.php

index 53e724b..38f56d2 100644 (file)
@@ -1,7 +1,5 @@
 <?php
 
-use MediaWiki\MediaWikiServices;
-
 /**
  * Common code for test environment initialisation and teardown
  */
index 5358f29..23fa7bc 100644 (file)
@@ -1,7 +1,5 @@
 <?php
 
-use MediaWiki\MediaWikiServices;
-
 class ApiOpenSearchTest extends MediaWikiTestCase {
        public function testGetAllowedParams() {
                $config = $this->replaceSearchEngineConfig();
index 6273f47..50394f4 100644 (file)
@@ -2,7 +2,6 @@
 
 namespace MediaWiki\Session;
 
-use AuthPlugin;
 use MediaWikiTestCase;
 use Psr\Log\LogLevel;
 use User;
index 8ba2aeb..b19376d 100644 (file)
@@ -16,9 +16,6 @@
  * http://www.gnu.org/copyleft/gpl.html
  */
 
-use Composer\Spdx\SpdxLicenses;
-use JsonSchema\Validator;
-
 /**
  * Validates all loaded extensions and skins using the ExtensionRegistry
  * against the extension.json schema in the docs/ folder.