protected function EntityOperationsTest::setUp in Drupal 9
Same name in this branch
- 9 core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php \Drupal\Tests\content_moderation\Kernel\EntityOperationsTest::setUp()
- 9 core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php \Drupal\Tests\system\Functional\Entity\EntityOperationsTest::setUp()
Same name and namespace in other branches
- 8 core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php \Drupal\Tests\content_moderation\Kernel\EntityOperationsTest::setUp()
Overrides KernelTestBase::setUp
File
- core/
modules/ content_moderation/ tests/ src/ Kernel/ EntityOperationsTest.php, line 33
Class
- EntityOperationsTest
- @coversDefaultClass \Drupal\content_moderation\EntityOperations
Namespace
Drupal\Tests\content_moderation\KernelCode
protected function setUp() : void {
parent::setUp();
$this
->installEntitySchema('node');
$this
->installSchema('node', 'node_access');
$this
->installEntitySchema('user');
$this
->installEntitySchema('content_moderation_state');
$this
->installConfig('content_moderation');
$this
->createNodeType();
}