You are here

protected function ScheduledTransitionTest::setUp in Scheduled Transitions 8

Same name and namespace in other branches
  1. 2.x tests/src/Kernel/ScheduledTransitionTest.php \Drupal\Tests\scheduled_transitions\Kernel\ScheduledTransitionTest::setUp()

Overrides KernelTestBase::setUp

File

tests/src/Kernel/ScheduledTransitionTest.php, line 54

Class

ScheduledTransitionTest
Tests basic functionality of scheduled_transitions fields.

Namespace

Drupal\Tests\scheduled_transitions\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('st_entity_test');
  $this
    ->installEntitySchema('st_nont_entity_test');
  $this
    ->installEntitySchema('entity_test_revlog');
  $this
    ->installEntitySchema('content_moderation_state');
  $this
    ->installEntitySchema('user');
  $this
    ->installEntitySchema('scheduled_transition');
  $this
    ->installConfig([
    'scheduled_transitions',
  ]);
}