Mercurial > hg > cmmr2012-drupal-site
diff core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
children |
line wrap: on
line diff
--- a/core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php Thu Feb 28 13:11:55 2019 +0000 +++ b/core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php Thu May 09 15:34:47 2019 +0100 @@ -45,22 +45,6 @@ ]; /** - * {@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. * * @dataProvider coreModuleListDataProvider @@ -126,7 +110,7 @@ // recalculation of dependencies does not cause config change. if ($entity_type = $config_manager->getEntityTypeIdByName($config_name)) { $entity_storage = $config_manager - ->getEntityManager() + ->getEntityTypeManager() ->getStorage($entity_type); $id = $entity_storage->getIDFromConfigName($config_name, $entity_storage->getEntityType() ->getConfigPrefix());