* changed variable name of the logger since it is used globally
authorMarkus Glaser <mglaser@users.mediawiki.org>
Mon, 2 Aug 2010 08:07:52 +0000 (08:07 +0000)
committerMarkus Glaser <mglaser@users.mediawiki.org>
Mon, 2 Aug 2010 08:07:52 +0000 (08:07 +0000)
maintenance/tests/RunSeleniumTests.php

index e872219..080aadb 100644 (file)
@@ -43,8 +43,8 @@ if ( isset( $options['port'] ) ) {
 SeleniumLoader::load();
 
 $result = new PHPUnit_Framework_TestResult;
-$logger = new SeleniumTestConsoleLogger;
-$result->addListener( new SeleniumTestListener( $logger ) );
+$wgSeleniumLogger = new SeleniumTestConsoleLogger;
+$result->addListener( new SeleniumTestListener( $wgSeleniumLogger ) );
 
 foreach ( $wgSeleniumTestSuites as $testSuiteName ) {
        $suite = new $testSuiteName;