You are here

public function WorkflowsTestBase::setUp in Workflows Field 2.x

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

Overrides KernelTestBase::setUp

File

tests/src/Kernel/WorkflowsTestBase.php, line 36

Class

WorkflowsTestBase
Base class for testing.

Namespace

Drupal\Tests\workflows_field\Kernel

Code

public function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('user');
  $this
    ->installEntitySchema('node');
  $this
    ->installEntitySchema('workflow');
  $this
    ->installConfig([
    'workflows_field_test_workflows',
  ]);
  $this
    ->installSchema('system', [
    'sequences',
  ]);

  // Discard user 1.
  $this
    ->createUser();
}