From: addshore Date: Fri, 14 Mar 2014 13:43:09 +0000 (+0100) Subject: Remove phpunit compatability function calls X-Git-Tag: 1.31.0-rc.0~16621 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=3dfdddeb9464755fb3faf6c58d34366b71d0b117;p=lhc%2Fweb%2Fwiklou.git Remove phpunit compatability function calls phpunit.php now requires we run tests with 3.7.0+ so we no longer need these safety calls Change-Id: I15d215630fe4d8ab71fc97883dde2eed13d03678 --- diff --git a/tests/phpunit/MediaWikiTestCase.php b/tests/phpunit/MediaWikiTestCase.php index 723f12090e..277826c482 100644 --- a/tests/phpunit/MediaWikiTestCase.php +++ b/tests/phpunit/MediaWikiTestCase.php @@ -586,9 +586,6 @@ abstract class MediaWikiTestCase extends PHPUnit_Framework_TestCase { */ public function __call( $func, $args ) { static $compatibility = array( - 'assertInternalType' => 'assertType', // assertInternalType was added in phpunit 3.5.0 - 'assertNotInternalType' => 'assertNotType', // assertNotInternalType was added in phpunit 3.5.0 - 'assertInstanceOf' => 'assertType', // assertInstanceOf was added in phpunit 3.5.0 'assertEmpty' => 'assertEmpty2', // assertEmpty was added in phpunit 3.7.32 );