protected function EntityOperationsTest::setUp in Workbench Moderation 8
Same name and namespace in other branches
- 8.2 tests/src/Kernel/EntityOperationsTest.php \Drupal\Tests\workbench_moderation\Kernel\EntityOperationsTest::setUp()
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ EntityOperationsTest.php, line 33
Class
- EntityOperationsTest
- Class EntityOperationsTest.
Namespace
Drupal\Tests\workbench_moderation\KernelCode
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('node');
$this
->installSchema('node', 'node_access');
$this
->installEntitySchema('user');
$this
->installConfig('workbench_moderation');
$this
->createNodeType();
}