function UserHasEntityFieldAccessTest::setUp

Overrides RulesEntityIntegrationTestBase::setUp

File

tests/src/Unit/Integration/Condition/UserHasEntityFieldAccessTest.php, line 27

Class

UserHasEntityFieldAccessTest
@coversDefaultClass \Drupal\rules\Plugin\Condition\UserHasEntityFieldAccess @group RulesCondition

Namespace

Drupal\Tests\rules\Unit\Integration\Condition

Code

protected function setUp() : void {
    parent::setUp();
    $this->enableModule('user');
    $this->condition = $this->conditionManager
        ->createInstance('rules_entity_field_access');
}