function DefaultTableMappingIntegrationTest::setUp
Overrides EntityKernelTestBase::setUp
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Entity/ DefaultTableMappingIntegrationTest.php, line 56
Class
- DefaultTableMappingIntegrationTest
- Tests the default table mapping class for content entities stored in SQL.
Namespace
Drupal\KernelTests\Core\EntityCode
protected function setUp() : void {
parent::setUp();
$this->tableMapping = $this->entityTypeManager
->getStorage('entity_test_mulrev')
->getTableMapping();
// Ensure that the tables for the new field are created.
$this->applyEntityUpdates('entity_test_mulrev');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.