diff --git a/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php b/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php index fd7df67..e95fa49 100644 --- a/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php +++ b/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php @@ -3,6 +3,7 @@ namespace Drupal\FunctionalJavascriptTests; use Drupal\simpletest\BrowserTestBase; +use GuzzleHttp\Exception\ConnectException; use Zumba\Mink\Driver\PhantomJSDriver; /** diff --git a/core/tests/bootstrap.php b/core/tests/bootstrap.php index f1f7862..12c4deb 100644 --- a/core/tests/bootstrap.php +++ b/core/tests/bootstrap.php @@ -104,6 +104,8 @@ function drupal_phpunit_populate_class_loader() { // Start with classes in known locations. $loader->add('Drupal\\Tests', __DIR__); $loader->add('Drupal\\KernelTests', __DIR__); + $loader->add('Drupal\\FunctionalTests', __DIR__); + $loader->add('Drupal\\FunctionalJavascriptTests', __DIR__); if (!isset($GLOBALS['namespaces'])) { // Scan for arbitrary extension namespaces from core and contrib.