Remove phpunit compatability function calls
authoraddshore <addshorewiki@gmail.com>
Fri, 14 Mar 2014 13:43:09 +0000 (14:43 +0100)
committeraddshore <addshorewiki@gmail.com>
Fri, 14 Mar 2014 13:43:09 +0000 (14:43 +0100)
phpunit.php now requires we run tests with
3.7.0+ so we no longer need these safety
calls

Change-Id: I15d215630fe4d8ab71fc97883dde2eed13d03678

tests/phpunit/MediaWikiTestCase.php

index 723f120..277826c 100644 (file)
@@ -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
                );