function InitialStateTest::setUp
Same name in other branches
- 9 core/modules/content_moderation/tests/src/Kernel/InitialStateTest.php \Drupal\Tests\content_moderation\Kernel\InitialStateTest::setUp()
- 8.9.x core/modules/content_moderation/tests/src/Kernel/InitialStateTest.php \Drupal\Tests\content_moderation\Kernel\InitialStateTest::setUp()
- 11.x core/modules/content_moderation/tests/src/Kernel/InitialStateTest.php \Drupal\Tests\content_moderation\Kernel\InitialStateTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ content_moderation/ tests/ src/ Kernel/ InitialStateTest.php, line 35
Class
- InitialStateTest
- Tests the correct initial states are set on install.
Namespace
Drupal\Tests\content_moderation\KernelCode
protected function setUp() : void {
parent::setUp();
$this->installSchema('node', 'node_access');
$this->installEntitySchema('node');
$this->installEntitySchema('user');
$this->installEntitySchema('entity_test_rev');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.