Remove require_once from maintenance tests
[lhc/web/wiklou.git] / tests / phpunit / maintenance / fetchTextTest.php
index 14dfb44..7cbda3c 100644 (file)
@@ -10,8 +10,6 @@ use Title;
 use PHPUnit_Framework_ExpectationFailedException;
 use WikiPage;
 
-require_once __DIR__ . "/../../../maintenance/fetchText.php";
-
 /**
  * Mock for the input/output of FetchText
  *
@@ -215,7 +213,7 @@ class FetchTextTest extends MediaWikiTestCase {
 
        function testExistingSeveral() {
                $this->assertFilter(
-                       join( "\n", [
+                       implode( "\n", [
                                self::$textId1,
                                self::$textId5,
                                self::$textId3,