You are here

protected function EventIntegrationTest::setUp in Rules 8.3

Overrides RulesKernelTestBase::setUp

File

tests/src/Kernel/EventIntegrationTest.php, line 33

Class

EventIntegrationTest
Test for the Symfony event mapping to Rules events.

Namespace

Drupal\Tests\rules\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this->storage = $this->container
    ->get('entity_type.manager')
    ->getStorage('rules_reaction_rule');
  $this
    ->installEntitySchema('user');
  $this
    ->installEntitySchema('node');
  $this
    ->installConfig([
    'system',
  ]);
  $this
    ->installConfig([
    'field',
  ]);
  $this
    ->installConfig([
    'node',
  ]);
  $this
    ->installSchema('node', [
    'node_access',
  ]);
  $this
    ->installSchema('system', [
    'sequences',
  ]);
}