r79123 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79122‎ | r79123 | r79124 >
Date:18:47, 28 December 2010
Author:soxred93
Status:ok
Tags:
Comment:
NewDBTest does not need the function anymore.
Fixed bug that caused a catchable fatal error (fix from r79117)
Modified paths:
  • /trunk/phase3/tests/phpunit/includes/NewDBTest.php (modified) (history)
  • /trunk/phase3/tests/phpunit/suites/ExtensionsTestSuite.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/includes/NewDBTest.php
@@ -19,8 +19,6 @@
2020 User::newFromName( 'UTSysop' ) );
2121 }
2222
23 - function needsDB() { return true; }
24 -
2523 function testBootstrapCreation() {
2624
2725 $article = new Article( Title::newFromText("UTPage") );
Index: trunk/phase3/tests/phpunit/suites/ExtensionsTestSuite.php
@@ -26,7 +26,7 @@
2727 * Needed to avoid warnings like 'No tests found in class "ExtensionsTestSuite".'
2828 * when no extensions with tests are used.
2929 */
30 -class DummyExtensionsTest extends MediaWikiTestCase {
 30+class DummyExtensionsTest extends PHPUnit_Framework_TestCase {
3131 public function testNothing() {
3232
3333 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r79117* verbose and color default output from phpunit...demon18:17, 28 December 2010

Status & tagging log