Extend MediaWikiTestCase in a few places
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 25 May 2011 00:30:06 +0000 (00:30 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 25 May 2011 00:30:06 +0000 (00:30 +0000)
tests/phpunit/includes/MWNamespaceTest.php
tests/phpunit/includes/XmlJsTest.php
tests/phpunit/includes/parser/MagicVariableTest.php
tests/phpunit/suites/ExtensionsTestSuite.php

index e1e0fe6..8ec8ab7 100644 (file)
@@ -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
         */
index 9f759f3..c5b411f 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-class XmlJs extends PHPUnit_Framework_TestCase {
+class XmlJs extends MediaWikiTestCase {
        public function testConstruction() {
                $obj = new XmlJsCode( null );
                $this->assertNull( $obj->value );
index b237f0d..3c84309 100644 (file)
@@ -12,7 +12,7 @@
  */
 
 /** */
-class MagicVariableTest extends PHPUnit_Framework_TestCase {
+class MagicVariableTest extends MediaWikiTestCase {
        /** Will contains a parser object*/
        private $testParser = null;
 
index 4bf3542..4f02a69 100644 (file)
@@ -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() {
                
        }