From 3dfdddeb9464755fb3faf6c58d34366b71d0b117 Mon Sep 17 00:00:00 2001 From: addshore Date: Fri, 14 Mar 2014 14:43:09 +0100 Subject: [PATCH] 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 --- tests/phpunit/MediaWikiTestCase.php | 3 --- 1 file changed, 3 deletions(-) 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 ); -- 2.20.1