protected function NodeConditionTest::setUp

Sets up Drupal unit test environment.

Overrides DrupalUnitTestBase::setUp

See also

DrupalUnitTestBase::$modules

DrupalUnitTestBase

File

drupal/core/modules/node/lib/Drupal/node/Tests/Condition/NodeConditionTest.php, line 27
Contains \Drupal\condition\Tests\Condition\NodeConditionTest.

Class

NodeConditionTest
Tests the node conditions.

Namespace

Drupal\node\Tests\Condition

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installSchema('node', 'node_type');
  $this
    ->installSchema('node', 'node');
  $this
    ->installSchema('node', 'node_field_data');
  $this
    ->installSchema('node', 'node_field_revision');
}