Commit 9318aa16 authored by catch's avatar catch
Browse files

Issue #1849118 by sun: Fixed DrupalKernel in DrupalUnitTestBase is dumped.

parent 6d7099d2
......@@ -89,7 +89,8 @@ protected function setUp() {
state()->set('system.theme.data', $this->themeData);
// Bootstrap the kernel.
$this->kernel = new DrupalKernel('testing', TRUE, drupal_classloader());
// No need to dump it; this test runs in-memory.
$this->kernel = new DrupalKernel('testing', TRUE, drupal_classloader(), FALSE);
$this->kernel->boot();
// Ensure that the module list is initially empty.
......
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