protected function SqlContentEntityStorageSchemaTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php \Drupal\KernelTests\Core\Entity\Sql\SqlContentEntityStorageSchemaTest::setUp()
- 9 core/tests/Drupal/KernelTests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php \Drupal\KernelTests\Core\Entity\Sql\SqlContentEntityStorageSchemaTest::setUp()
File
- core/
tests/ Drupal/ KernelTests/ Core/ Entity/ Sql/ SqlContentEntityStorageSchemaTest.php, line 30
Class
- SqlContentEntityStorageSchemaTest
- @group Entity
Namespace
Drupal\KernelTests\Core\Entity\SqlCode
protected function setUp() : void {
parent::setUp();
/** @var \Drupal\Core\KeyValueStore\KeyValueFactoryInterface $key_value_factory */
$key_value_factory = $this->container
->get('keyvalue');
$this->installedStorageSchema = $key_value_factory
->get('entity.storage_schema.sql');
$this->entityDefinitionUpdateManager = $this->container
->get('entity.definition_update_manager');
}