public function EntityBCDecoratorTest::setUp

Sets up Drupal unit test environment.

Overrides EntityUnitTestBase::setUp

See also

DrupalUnitTestBase::$modules

DrupalUnitTestBase

File

drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityBCDecoratorTest.php, line 32
Contains \Drupal\system\Tests\Entity\EntityBCDecoratorTest.

Class

EntityBCDecoratorTest
Tests Entity API base functionality.

Namespace

Drupal\system\Tests\Entity

Code

public function setUp() {
  parent::setUp();
  $this
    ->installSchema('user', array(
    'users_roles',
    'users_data',
    'role_permission',
  ));
  $this
    ->installSchema('node', array(
    'node',
    'node_field_data',
    'node_field_revision',
    'node_type',
    'node_access',
  ));
  $this
    ->installSchema('comment', array(
    'comment',
    'node_comment_statistics',
  ));
}