Add MediaWikiTestCase::checkHasDiff3 and use it
authorumherirrender <umherirrender_de.wp@web.de>
Thu, 22 Nov 2012 16:45:50 +0000 (17:45 +0100)
committerumherirrender <umherirrender_de.wp@web.de>
Thu, 22 Nov 2012 16:45:50 +0000 (17:45 +0100)
commit9b3292e31a7dd827d4336c6081d7d8d79a27f2c3
treeefb3d7f72b2292109a77c7bee4d2a2220e60e8e0
parentc8867d38141ab82471d239b13b3d6cd941f8f22f
Add MediaWikiTestCase::checkHasDiff3 and use it

Some tests can only passed, when diff3 is enabled on the wiki, when not
the tests should marked as skipped. To avoid code duplicates inside
the test folder for the check, if diff3 is enabled, the new function
MediaWikiTestCase::checkHasDiff3 can be used.

Change-Id: Ie765da49a4a1358da78a3506e38772d61bcd010c
tests/phpunit/MediaWikiTestCase.php
tests/phpunit/includes/EditPageTest.php
tests/phpunit/includes/GlobalFunctions/GlobalTest.php
tests/phpunit/includes/WikiPageTest.php
tests/phpunit/includes/content/WikitextContentHandlerTest.php