Fix the completely broken r81880
authorPlatonides <platonides@users.mediawiki.org>
Thu, 10 Feb 2011 10:03:38 +0000 (10:03 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Thu, 10 Feb 2011 10:03:38 +0000 (10:03 +0000)
tests/phpunit/MediaWikiTestCase.php
tests/phpunit/includes/MediaWikiTest.php

index 5caac22..44ce4eb 100644 (file)
@@ -183,7 +183,7 @@ abstract class MediaWikiTestCase extends PHPUnit_Framework_TestCase {
                }
        }
 
-       static private assertEmpty2( $value, $msg ) {
+       private function assertEmpty2( $value, $msg ) {
                return $this->assertTrue( $value == '', $msg );
        }
        
index af58265..a0fa316 100644 (file)
@@ -3,7 +3,7 @@
  * Test class for MediaWiki.
  * Generated by PHPUnit on 2011-02-06 at 11:41:23.
  */
-class MediaWikiTest extends PHPUnit_Framework_TestCase {
+class MediaWikiTest extends MediaWikiTestCase {
        /**
         * @var MediaWiki
         */