function RulesComponentListBuilderTest::setUp

Overrides BrowserTestBase::setUp

File

tests/src/Functional/RulesComponentListBuilderTest.php, line 41

Class

RulesComponentListBuilderTest
Tests that the Rules Component 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_component');
    $this->adminUser = $this->drupalCreateUser([
        'administer rules',
    ]);
}