Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #588 from giorgiosironi/phpunit_selenium_autoload

  • Loading branch information...
commit 4dd332b537ab5a47bda7236953d3d5a2a4df04f6 2 parents 0f0cbc1 + a1fb73e
@sebastianbergmann authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 PHPUnit/Autoload.php
View
4 PHPUnit/Autoload.php
@@ -214,7 +214,9 @@ function phpunit_autoload($class = NULL)
require_once 'PHPUnit/Extensions/Database/Autoload.php';
}
-if (PHPUnit_Util_Filesystem::fileExistsInIncludePath('PHPUnit/Extensions/SeleniumTestCase/Autoload.php')) {
+if (PHPUnit_Util_Filesystem::fileExistsInIncludePath('PHPUnit/Extensions/SeleniumCommon/Autoload.php')) {
+ require_once 'PHPUnit/Extensions/SeleniumCommon/Autoload.php';
+} else if (PHPUnit_Util_Filesystem::fileExistsInIncludePath('PHPUnit/Extensions/SeleniumTestCase/Autoload.php')) {
require_once 'PHPUnit/Extensions/SeleniumTestCase/Autoload.php';
}
Please sign in to comment.
Something went wrong with that request. Please try again.