You are here

public function PreviewLinkExpiryTest::setUp in Preview Link 8

Same name and namespace in other branches
  1. 2.x tests/src/Kernel/PreviewLinkExpiryTest.php \Drupal\Tests\preview_link\Kernel\PreviewLinkExpiryTest::setUp()
  2. 2.0.x tests/src/Kernel/PreviewLinkExpiryTest.php \Drupal\Tests\preview_link\Kernel\PreviewLinkExpiryTest::setUp()

Overrides PreviewLinkBase::setUp

File

tests/src/Kernel/PreviewLinkExpiryTest.php, line 24

Class

PreviewLinkExpiryTest
Preview link expiry test.

Namespace

Drupal\Tests\preview_link\Kernel

Code

public function setUp() {
  parent::setUp();
  $this->node = $this
    ->createNode();
}