r74557 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74556‎ | r74557 | r74558 >
Date:19:12, 9 October 2010
Author:maxsem
Status:ok
Tags:
Comment:
* Updated run-tests.bat to take recent changes into account
* Fixed $wgHooks being reset during tests - thanks, Platonides
Modified paths:
  • /trunk/phase3/maintenance/tests/phpunit/includes/ResourceLoaderTest.php (modified) (history)
  • /trunk/phase3/maintenance/tests/phpunit/run-tests.bat (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/tests/phpunit/includes/ResourceLoaderTest.php
@@ -67,5 +67,5 @@
6868 class ResourceLoaderTestModule extends ResourceLoaderModule { }
6969
7070 /* Hooks */
71 -
 71+global $wgHooks;
7272 $wgHooks['ResourceLoaderRegisterModules'][] = 'ResourceLoaderTest::resourceLoaderRegisterModules';
\ No newline at end of file
Index: trunk/phase3/maintenance/tests/phpunit/run-tests.bat
@@ -1 +1 @@
2 -phpunit --configuration suite.xml %1 %2 %3 %4 %5 %6 %7 %8 %9
 2+php phpunit.php --configuration suite.xml %*

Status & tagging log