X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fapi%2FApiComparePagesTest.php;h=9b32e9e5d115ce727edbc3afc18ebe9fc7cdc97c;hb=865ac3b3553751dd72cf805d9933639b129f36e2;hp=9e18eb0985afc694a6d0250a861821c14a3443ab;hpb=c96b4e13235351b03f2da790cc97de53ff86e4f7;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/api/ApiComparePagesTest.php b/tests/phpunit/includes/api/ApiComparePagesTest.php index 9e18eb0985..9b32e9e5d1 100644 --- a/tests/phpunit/includes/api/ApiComparePagesTest.php +++ b/tests/phpunit/includes/api/ApiComparePagesTest.php @@ -10,16 +10,6 @@ class ApiComparePagesTest extends ApiTestCase { protected static $repl = []; - protected function setUp() { - parent::setUp(); - - // Set $wgExternalDiffEngine to something bogus to try to force use of - // the PHP engine rather than wikidiff2. - $this->setMwGlobals( [ - 'wgExternalDiffEngine' => '/dev/null', - ] ); - } - protected function addPage( $page, $text, $model = CONTENT_MODEL_WIKITEXT ) { $title = Title::newFromText( 'ApiComparePagesTest ' . $page ); $content = ContentHandler::makeContent( $text, $title, $model );