function UserHasRoleTest::setUp
Overrides RulesEntityIntegrationTestBase::setUp
File
-
tests/
src/ Unit/ Integration/ Condition/ UserHasRoleTest.php, line 26
Class
- UserHasRoleTest
- @coversDefaultClass \Drupal\rules\Plugin\Condition\UserHasRole @group RulesCondition
Namespace
Drupal\Tests\rules\Unit\Integration\ConditionCode
protected function setUp() : void {
parent::setUp();
$this->enableModule('user');
$this->condition = $this->conditionManager
->createInstance('rules_user_has_role');
}