From: Chad Horohoe Date: Tue, 30 Dec 2014 04:56:47 +0000 (-0800) Subject: Use PHPUnit_Framework_TestCase in a few utils/ tests X-Git-Tag: 1.31.0-rc.0~12827^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%2C%22id_auteur=%24connecte%22%29%20.%20%22?a=commitdiff_plain;h=20ef448bc32d3e8ac68b8bdf1f004bb476ccacc5;p=lhc%2Fweb%2Fwiklou.git Use PHPUnit_Framework_TestCase in a few utils/ tests IPTest, StringUtilsTest and ZipDirectoryReaderTest do not need the extra overhead Change-Id: Ic05afb1a3a094a57383d483f4e50bd1ed9a183e2 --- diff --git a/tests/phpunit/includes/utils/IPTest.php b/tests/phpunit/includes/utils/IPTest.php index ebe347fd75..09c1587de8 100644 --- a/tests/phpunit/includes/utils/IPTest.php +++ b/tests/phpunit/includes/utils/IPTest.php @@ -9,7 +9,7 @@ * dataprovider. */ -class IPTest extends MediaWikiTestCase { +class IPTest extends PHPUnit_Framework_TestCase { /** * not sure it should be tested with boolean false. hashar 20100924 * @covers IP::isIPAddress diff --git a/tests/phpunit/includes/utils/StringUtilsTest.php b/tests/phpunit/includes/utils/StringUtilsTest.php index 0fdb8e1594..7c24fae6d5 100644 --- a/tests/phpunit/includes/utils/StringUtilsTest.php +++ b/tests/phpunit/includes/utils/StringUtilsTest.php @@ -1,6 +1,6 @@