You are here

protected function UserHasEntityFieldAccessTest::setUp in Rules 8.3

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');
}