protected function EntityDuplicateTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/Entity/EntityDuplicateTest.php \Drupal\KernelTests\Core\Entity\EntityDuplicateTest::setUp()
- 10 core/tests/Drupal/KernelTests/Core/Entity/EntityDuplicateTest.php \Drupal\KernelTests\Core\Entity\EntityDuplicateTest::setUp()
Overrides EntityKernelTestBase::setUp
File
- core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDuplicateTest.php, line 22
Class
- EntityDuplicateTest
- Test entity duplication.
Namespace
Drupal\KernelTests\Core\EntityCode
protected function setUp() : void {
parent::setUp();
$this
->installEntitySchema('entity_test_rev');
$this->entityTestRevStorage = $this->container
->get('entity_type.manager')
->getStorage('entity_test_rev');
}