You are here

protected function EntityOperationsTest::setUp in Workbench Moderation 8.2

Same name and namespace in other branches
  1. 8 tests/src/Kernel/EntityOperationsTest.php \Drupal\Tests\workbench_moderation\Kernel\EntityOperationsTest::setUp()

Overrides KernelTestBase::setUp

File

tests/src/Kernel/EntityOperationsTest.php, line 27

Class

EntityOperationsTest
Class EntityOperationsTest

Namespace

Drupal\Tests\workbench_moderation\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('node');
  $this
    ->installSchema('node', 'node_access');
  $this
    ->installEntitySchema('user');
  $this
    ->installConfig('workbench_moderation');
  $this
    ->createNodeType();
}