Skip to content
Snippets Groups Projects
Commit a11f1885 authored by catch's avatar catch
Browse files

Issue #3014011 by amateescu, andypost: Remove a couple of workarounds from...

Issue #3014011 by amateescu, andypost: Remove a couple of workarounds from DefaultConfigTest and ModuleHandlerTest
parent f3a6d638
No related branches found
No related tags found
Loading
......@@ -19,22 +19,6 @@ class ModuleHandlerTest extends KernelTestBase {
*/
public static $modules = ['system'];
/**
* {@inheritdoc}
*/
protected function setUp() {
parent::setUp();
// @todo ModuleInstaller calls system_rebuild_module_data which is part of
// system.module, see https://www.drupal.org/node/2208429.
include_once $this->root . '/core/modules/system/system.module';
// Set up the state values so we know where to find the files when running
// drupal_get_filename().
// @todo Remove as part of https://www.drupal.org/node/2186491
system_rebuild_module_data();
}
/**
* The basic functionality of retrieving enabled modules.
*/
......
......@@ -44,22 +44,6 @@ class DefaultConfigTest extends KernelTestBase {
'simpletest.settings' => TRUE,
];
/**
* {@inheritdoc}
*/
protected function setUp() {
parent::setUp();
// @todo ModuleInstaller calls system_rebuild_module_data which is part of
// system.module, see https://www.drupal.org/node/2208429.
include_once $this->root . '/core/modules/system/system.module';
// Set up the state values so we know where to find the files when running
// drupal_get_filename().
// @todo Remove as part of https://www.drupal.org/node/2186491
system_rebuild_module_data();
}
/**
* Tests if installed config is equal to the exported config.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment