function UiPageTest::setUp

Overrides BrowserTestBase::setUp

File

tests/src/Functional/UiPageTest.php, line 43

Class

UiPageTest
Tests that the Reaction Rules list builder pages work.

Namespace

Drupal\Tests\rules\Functional

Code

protected function setUp() : void {
    parent::setUp();
    $this->storage = $this->container
        ->get('entity_type.manager')
        ->getStorage('rules_reaction_rule');
    $this->adminUser = $this->drupalCreateUser([
        'administer rules',
    ]);
}