function EventPropertyAccessTest::setUp

Same name in this branch
  1. 8.x-3.x tests/src/Unit/Integration/Event/EventPropertyAccessTest.php \Drupal\Tests\rules\Unit\Integration\Event\EventPropertyAccessTest::setUp()

Overrides RulesKernelTestBase::setUp

File

tests/src/Kernel/EventPropertyAccessTest.php, line 35

Class

EventPropertyAccessTest
Tests that Rules can use and access the properties of any 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');
}