function UserRoleAddTest::setUp

Overrides RulesEntityIntegrationTestBase::setUp

File

tests/src/Unit/Integration/RulesAction/UserRoleAddTest.php, line 26

Class

UserRoleAddTest
@coversDefaultClass \Drupal\rules\Plugin\RulesAction\UserRoleAdd @group RulesAction

Namespace

Drupal\Tests\rules\Unit\Integration\RulesAction

Code

protected function setUp() : void {
    parent::setUp();
    $this->enableModule('user');
    $this->action = $this->actionManager
        ->createInstance('rules_user_role_add');
}