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