From a34f0dbc23c696ed774dc41923f7f96fa2e82891 Mon Sep 17 00:00:00 2001 From: Nathaniel Catchpole Date: Fri, 30 Jan 2015 13:53:03 +0000 Subject: [PATCH] Issue #2409811 by lauriii, alexpott: Kernel tests should explicitly install themes --- core/modules/simpletest/src/KernelTestBase.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/modules/simpletest/src/KernelTestBase.php b/core/modules/simpletest/src/KernelTestBase.php index d2c53412faf8..71be96917704 100644 --- a/core/modules/simpletest/src/KernelTestBase.php +++ b/core/modules/simpletest/src/KernelTestBase.php @@ -211,11 +211,6 @@ abstract class KernelTestBase extends TestBase { if ($modules) { $this->enableModules($modules); } - // In order to use theme functions default theme config needs to exist. This - // configuration is not saved because it would fatal due to system module's - // configuration schema not existing. However since the configuration is - // cached in the configuration factory everything works. - $this->config('system.theme')->set('default', 'classy'); // Tests based on this class are entitled to use Drupal's File and // StreamWrapper APIs.