function ConfigEntityImportTest::testConfigUpdateImport
Same name in other branches
- 9 core/modules/system/tests/src/Kernel/Entity/ConfigEntityImportTest.php \Drupal\Tests\system\Kernel\Entity\ConfigEntityImportTest::testConfigUpdateImport()
- 10 core/modules/system/tests/src/Kernel/Entity/ConfigEntityImportTest.php \Drupal\Tests\system\Kernel\Entity\ConfigEntityImportTest::testConfigUpdateImport()
- 11.x core/modules/system/tests/src/Kernel/Entity/ConfigEntityImportTest.php \Drupal\Tests\system\Kernel\Entity\ConfigEntityImportTest::testConfigUpdateImport()
Runs test methods for each module within a single test run.
File
-
core/
modules/ system/ tests/ src/ Kernel/ Entity/ ConfigEntityImportTest.php, line 40
Class
- ConfigEntityImportTest
- Tests ConfigEntity importing.
Namespace
Drupal\Tests\system\Kernel\EntityCode
public function testConfigUpdateImport() {
$this->installConfig([
'action',
'block',
'filter',
'image',
]);
$this->container
->get('theme_installer')
->install([
'bartik',
]);
$config_storage = $this->container
->get('config.storage');
// Ensure the 'system.site' config.
$config_storage->write('system.site', [
'uuid' => (new Php())->generate(),
]);
$this->copyConfig($config_storage, $this->container
->get('config.storage.sync'));
$this->doActionUpdate();
$this->doBlockUpdate();
$this->doFilterFormatUpdate();
$this->doImageStyleUpdate();
$this->doSearchPageUpdate();
$this->doThirdPartySettingsUpdate();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.