r102871 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102870‎ | r102871 | r102872 >
Date:21:32, 12 November 2011
Author:demon
Status:ok
Tags:
Comment:
Comment tweak on MediaWikiParserTest and make ResourceLoaderTest extend MediaWikiTestCase
Modified paths:
  • /trunk/phase3/tests/phpunit/includes/ResourceLoaderTest.php (modified) (history)
  • /trunk/phase3/tests/phpunit/includes/parser/MediaWikiParserTest.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/includes/parser/MediaWikiParserTest.php
@@ -2,7 +2,7 @@
33 require_once( dirname( __FILE__ ) . '/NewParserTest.php' );
44
55 /**
6 - * The UnitTest must be either a class that inherits from PHPUnit_Framework_TestCase
 6+ * The UnitTest must be either a class that inherits from MediaWikiTestCase
77 * or a class that provides a public static suite() method which returns
88 * an PHPUnit_Framework_Test object
99 *
Index: trunk/phase3/tests/phpunit/includes/ResourceLoaderTest.php
@@ -1,6 +1,6 @@
22 <?php
33
4 -class ResourceLoaderTest extends PHPUnit_Framework_TestCase {
 4+class ResourceLoaderTest extends MediaWikiTestCase {
55
66 protected static $resourceLoaderRegisterModulesHook;
77

Sign-offs

UserFlagDate
Platonidesinspected23:18, 13 November 2011

Status & tagging log