protected function EntitySchemaTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php \Drupal\KernelTests\Core\Entity\EntitySchemaTest::setUp()
Overrides EntityKernelTestBase::setUp
File
- core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntitySchemaTest.php, line 36
Class
- EntitySchemaTest
- Tests the default entity storage schema handler.
Namespace
Drupal\KernelTests\Core\EntityCode
protected function setUp() {
parent::setUp();
$this
->installSchema('user', [
'users_data',
]);
$this
->installEntitySchema('entity_test_update');
$this->database = $this->container
->get('database');
}