You are here

protected function HandlePdfControllerTest::setUp in FillPDF 8.4

Same name and namespace in other branches
  1. 5.0.x 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() {
  parent::setUp();
  $this->testNodes[1] = $this
    ->createNode([
    'title' => 'Hello',
    'type' => 'article',
  ]);
  $this->testNodes[2] = $this
    ->createNode([
    'title' => 'Goodbye',
    'type' => 'article',
  ]);
}