From 26ec01f63c2e11e8fb3380639fea516e8436afa9 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 25 May 2011 00:30:06 +0000 Subject: [PATCH] Extend MediaWikiTestCase in a few places --- tests/phpunit/includes/MWNamespaceTest.php | 2 +- tests/phpunit/includes/XmlJsTest.php | 2 +- tests/phpunit/includes/parser/MagicVariableTest.php | 2 +- tests/phpunit/suites/ExtensionsTestSuite.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/phpunit/includes/MWNamespaceTest.php b/tests/phpunit/includes/MWNamespaceTest.php index e1e0fe6d0f..8ec8ab7ccf 100644 --- a/tests/phpunit/includes/MWNamespaceTest.php +++ b/tests/phpunit/includes/MWNamespaceTest.php @@ -10,7 +10,7 @@ * Generated by PHPUnit on 2011-02-20 at 21:01:55. * */ -class MWNamespaceTest extends PHPUnit_Framework_TestCase { +class MWNamespaceTest extends MediaWikiTestCase { /** * @var MWNamespace */ diff --git a/tests/phpunit/includes/XmlJsTest.php b/tests/phpunit/includes/XmlJsTest.php index 9f759f30b1..c5b411fb47 100644 --- a/tests/phpunit/includes/XmlJsTest.php +++ b/tests/phpunit/includes/XmlJsTest.php @@ -1,5 +1,5 @@ assertNull( $obj->value ); diff --git a/tests/phpunit/includes/parser/MagicVariableTest.php b/tests/phpunit/includes/parser/MagicVariableTest.php index b237f0def5..3c8430952e 100644 --- a/tests/phpunit/includes/parser/MagicVariableTest.php +++ b/tests/phpunit/includes/parser/MagicVariableTest.php @@ -12,7 +12,7 @@ */ /** */ -class MagicVariableTest extends PHPUnit_Framework_TestCase { +class MagicVariableTest extends MediaWikiTestCase { /** Will contains a parser object*/ private $testParser = null; diff --git a/tests/phpunit/suites/ExtensionsTestSuite.php b/tests/phpunit/suites/ExtensionsTestSuite.php index 4bf3542799..4f02a693ce 100644 --- a/tests/phpunit/suites/ExtensionsTestSuite.php +++ b/tests/phpunit/suites/ExtensionsTestSuite.php @@ -26,7 +26,7 @@ class ExtensionsTestSuite extends PHPUnit_Framework_TestSuite { * Needed to avoid warnings like 'No tests found in class "ExtensionsTestSuite".' * when no extensions with tests are used. */ -class DummyExtensionsTest extends PHPUnit_Framework_TestCase { +class DummyExtensionsTest extends MediaWikiTestCase { public function testNothing() { } -- 2.20.1