r81881 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81880‎ | r81881 | r81882 >
Date:10:03, 10 February 2011
Author:platonides
Status:ok
Tags:
Comment:
Fix the completely broken r81880
Modified paths:
  • /trunk/phase3/tests/phpunit/MediaWikiTestCase.php (modified) (history)
  • /trunk/phase3/tests/phpunit/includes/MediaWikiTest.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/MediaWikiTestCase.php
@@ -183,7 +183,7 @@
184184 }
185185 }
186186
187 - static private assertEmpty2( $value, $msg ) {
 187+ private function assertEmpty2( $value, $msg ) {
188188 return $this->assertTrue( $value == '', $msg );
189189 }
190190
Index: trunk/phase3/tests/phpunit/includes/MediaWikiTest.php
@@ -3,7 +3,7 @@
44 * Test class for MediaWiki.
55 * Generated by PHPUnit on 2011-02-06 at 11:41:23.
66 */
7 -class MediaWikiTest extends PHPUnit_Framework_TestCase {
 7+class MediaWikiTest extends MediaWikiTestCase {
88 /**
99 * @var MediaWiki
1010 */

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r81880Add support of assertEmpty (used since r81596) for phpunit < 3.5.0platonides09:51, 10 February 2011

Status & tagging log