function NodeIsStickyTest::setUp

Overrides RulesEntityIntegrationTestBase::setUp

File

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

Class

NodeIsStickyTest
@coversDefaultClass \Drupal\rules\Plugin\Condition\NodeIsSticky @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_sticky');
}