Commit 1d6bcb11 authored by webchick's avatar webchick
Browse files

Issue #1759026 by chx, Berdir: Fixed Testing broken: Exception is never caught.

parent a642d32c
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
namespace Drupal\entity; namespace Drupal\entity;
use PDO; use PDO;
use Exception;
use Drupal\Component\Uuid\Uuid; use Drupal\Component\Uuid\Uuid;
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
use Drupal\entity\EntityFieldQuery; use Drupal\entity\EntityFieldQuery;
use Drupal\entity\EntityFieldQueryException; use Drupal\entity\EntityFieldQueryException;
use stdClass; use stdClass;
use Exception;
/** /**
* Tests Drupal\entity\EntityFieldQuery. * Tests Drupal\entity\EntityFieldQuery.
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
use Drupal\Core\Database\ConnectionNotDefinedException; use Drupal\Core\Database\ConnectionNotDefinedException;
use ReflectionMethod; use ReflectionMethod;
use ReflectionObject; use ReflectionObject;
use Exception;
/** /**
* Base class for Drupal tests. * Base class for Drupal tests.
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
use Drupal\Core\Cache\DatabaseBackend; use Drupal\Core\Cache\DatabaseBackend;
use Drupal\Core\Cache\InstallBackend; use Drupal\Core\Cache\InstallBackend;
use Exception;
/** /**
* Tests the behavior of the cache backend used for installing Drupal. * Tests the behavior of the cache backend used for installing Drupal.
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
use Drupal\Core\Database\Database; use Drupal\Core\Database\Database;
use Drupal\simpletest\WebTestBase; use Drupal\simpletest\WebTestBase;
use Exception;
/** /**
* Perform end-to-end tests of the upgrade path. * Perform end-to-end tests of the upgrade path.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment