Remove explict autoload from phpunit tests
authorumherirrender <umherirrender_de.wp@web.de>
Sat, 27 Sep 2014 08:38:58 +0000 (10:38 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Sat, 27 Sep 2014 08:38:58 +0000 (10:38 +0200)
The phpunit tests are loading all classes, so there is no need for an
explicit load.

Change-Id: Ifb26a5082e3366c44f6a1e65baf64c6ff9bf8449

tests/phpunit/includes/SanitizerTest.php
tests/phpunit/includes/media/SVGMetadataExtractorTest.php

index 50c1e50..f960f48 100644 (file)
@@ -6,12 +6,6 @@
  */
 class SanitizerTest extends MediaWikiTestCase {
 
-       protected function setUp() {
-               parent::setUp();
-
-               AutoLoader::loadClass( 'Sanitizer' );
-       }
-
        /**
         * @covers Sanitizer::decodeCharReferences
         */
index ab33d1c..0241aec 100644 (file)
@@ -6,11 +6,6 @@
  */
 class SVGMetadataExtractorTest extends MediaWikiTestCase {
 
-       protected function setUp() {
-               parent::setUp();
-               AutoLoader::loadClass( 'SVGMetadataExtractorTest' );
-       }
-
        /**
         * @dataProvider provideSvgFiles
         */