Permalink
Browse files

- Merge [4684].

  • Loading branch information...
1 parent d8d2713 commit ed364b35b4cc62788cc5ed41311ab9c39c2fa840 @sebastianbergmann committed Feb 25, 2009
Showing with 7 additions and 7 deletions.
  1. +7 −7 PHPUnit/TextUI/Command.php
View
@@ -643,6 +643,13 @@ protected static function handleArguments()
}
}
+ $browsers = $configuration->getSeleniumBrowserConfiguration();
+
+ if (!empty($browsers)) {
+ require_once 'PHPUnit/Extensions/SeleniumTestCase.php';
+ PHPUnit_Extensions_SeleniumTestCase::$browsers = $browsers;
+ }
+
if (!isset($arguments['test'])) {
$testSuite = $configuration->getTestSuiteConfiguration(
$arguments['syntaxCheck']
@@ -652,13 +659,6 @@ protected static function handleArguments()
$arguments['test'] = $testSuite;
}
}
-
- $browsers = $configuration->getSeleniumBrowserConfiguration();
-
- if (!empty($browsers)) {
- require_once 'PHPUnit/Extensions/SeleniumTestCase.php';
- PHPUnit_Extensions_SeleniumTestCase::$browsers = $browsers;
- }
}
if (isset($arguments['test']) && is_string($arguments['test']) && substr($arguments['test'], -5, 5) == '.phpt') {

0 comments on commit ed364b3

Please sign in to comment.