You are here

protected function NodeIsPromotedTest::setUp in Rules 8.3

Overrides RulesEntityIntegrationTestBase::setUp

File

tests/src/Unit/Integration/Condition/NodeIsPromotedTest.php, line 24

Class

NodeIsPromotedTest
@coversDefaultClass \Drupal\rules\Plugin\Condition\NodeIsPromoted @group RulesCondition

Namespace

Drupal\Tests\rules\Unit\Integration\Condition

Code

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