You are here

protected function HandlePdfControllerTest::setUp in FillPDF 5.0.x

Same name and namespace in other branches
  1. 8.4 tests/src/Functional/HandlePdfControllerTest.php \Drupal\Tests\fillpdf\Functional\HandlePdfControllerTest::setUp()

Overrides FillPdfTestBase::setUp

File

tests/src/Functional/HandlePdfControllerTest.php, line 24

Class

HandlePdfControllerTest
@coversDefaultClass \Drupal\fillpdf\Controller\HandlePdfController

Namespace

Drupal\Tests\fillpdf\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this->testNodes[1] = $this
    ->createNode([
    'title' => 'Hello',
    'type' => 'article',
  ]);
  $this->testNodes[2] = $this
    ->createNode([
    'title' => 'Goodbye',
    'type' => 'article',
  ]);
}