* Updated run-tests.bat to take recent changes into account
authorMax Semenik <maxsem@users.mediawiki.org>
Sat, 9 Oct 2010 19:12:35 +0000 (19:12 +0000)
committerMax Semenik <maxsem@users.mediawiki.org>
Sat, 9 Oct 2010 19:12:35 +0000 (19:12 +0000)
* Fixed $wgHooks being reset during tests - thanks, Platonides

maintenance/tests/phpunit/includes/ResourceLoaderTest.php
maintenance/tests/phpunit/run-tests.bat

index dbb529b..2ed3d02 100644 (file)
@@ -67,5 +67,5 @@ class ResourceLoaderTest extends PHPUnit_Framework_TestCase {
 class ResourceLoaderTestModule extends ResourceLoaderModule { }
 
 /* Hooks */
-
+global $wgHooks;
 $wgHooks['ResourceLoaderRegisterModules'][] = 'ResourceLoaderTest::resourceLoaderRegisterModules';
\ No newline at end of file
index c8338a0..e6eb3e0 100644 (file)
@@ -1 +1 @@
-phpunit --configuration suite.xml %1 %2 %3 %4 %5 %6 %7 %8 %9
+php phpunit.php --configuration suite.xml %*