Commit f8bc3677 authored by catch's avatar catch
Browse files

Issue #1948734 by msonnabaum: Fixed Include Drupal class in PHPUnit bootstrap.

parent b03efbf5
...@@ -9,5 +9,7 @@ ...@@ -9,5 +9,7 @@
foreach (scandir(__DIR__ . "/../modules") as $module) { foreach (scandir(__DIR__ . "/../modules") as $module) {
$loader->add('Drupal\\' . $module, __DIR__ . "/../modules/" . $module . "/lib"); $loader->add('Drupal\\' . $module, __DIR__ . "/../modules/" . $module . "/lib");
} }
require __DIR__ . "/../../core/lib/Drupal.php";
// Look into removing this later. // Look into removing this later.
define('REQUEST_TIME', (int) $_SERVER['REQUEST_TIME']); define('REQUEST_TIME', (int) $_SERVER['REQUEST_TIME']);
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