You are here

protected function NodeIsPublishedTest::setUp in Rules 8.3

Overrides RulesEntityIntegrationTestBase::setUp

File

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

Class

NodeIsPublishedTest
@coversDefaultClass \Drupal\rules\Plugin\Condition\NodeIsPublished @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_published');
}