Issue #3014011 by amateescu, andypost: Remove a couple of workarounds from DefaultConfigTest and ModuleHandlerTest

8.7.x
Nathaniel Catchpole 2018-11-16 12:30:04 +00:00
parent f3a6d63803
commit a11f188526
2 changed files with 0 additions and 32 deletions

View File

@ -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.
*/

View File

@ -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.
*