NewDBTest does not need the function anymore.
authorX! <soxred93@users.mediawiki.org>
Tue, 28 Dec 2010 18:47:09 +0000 (18:47 +0000)
committerX! <soxred93@users.mediawiki.org>
Tue, 28 Dec 2010 18:47:09 +0000 (18:47 +0000)
Fixed bug that caused a catchable fatal error (fix from r79117)

tests/phpunit/includes/NewDBTest.php
tests/phpunit/suites/ExtensionsTestSuite.php

index 02d9bb8..487549c 100644 (file)
@@ -19,8 +19,6 @@ class NewDBTest extends MediaWikiTestCase {
                                                        User::newFromName( 'UTSysop' ) );
        }
        
-       function needsDB() { return true; }
-
        function testBootstrapCreation() {
                
                $article = new Article( Title::newFromText("UTPage") );
index 4f02a69..4bf3542 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 MediaWikiTestCase {
+class DummyExtensionsTest extends PHPUnit_Framework_TestCase {
        public function testNothing() {
                
        }