From 20ef448bc32d3e8ac68b8bdf1f004bb476ccacc5 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Mon, 29 Dec 2014 20:56:47 -0800 Subject: [PATCH] Use PHPUnit_Framework_TestCase in a few utils/ tests IPTest, StringUtilsTest and ZipDirectoryReaderTest do not need the extra overhead Change-Id: Ic05afb1a3a094a57383d483f4e50bd1ed9a183e2 --- tests/phpunit/includes/utils/IPTest.php | 2 +- tests/phpunit/includes/utils/StringUtilsTest.php | 2 +- tests/phpunit/includes/utils/ZipDirectoryReaderTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 @@