You are here

protected function NodeIsStickyTest::setUp in Rules 8.3

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