Always use php based diff in EchoDiscussionParserTest

The previous check here meant that different
setups could run these tests with current diff
engines thus these tests could result in different
successes / failures.

Change-Id: I62a52dee1dd1ecd2ebd36e1aa540245e90a57ddd
This commit is contained in:
addshore 2016-08-19 13:32:46 +01:00
parent 1113d0b0f7
commit 5dd9858f4e

View file

@ -130,9 +130,7 @@ class EchoDiscussionParserTest extends MediaWikiTestCase {
protected function setUp() {
parent::setUp();
if ( extension_loaded( 'wikidiff2' ) ) {
$this->setMwGlobals( array( 'wgDiff' => false ) );
}
// users need to be added for each test, resetDB() removes them
// TODO: Only add users needed for each test, instead of adding them