You are here

public function PrintablePdfFormTest::setUp in Printer and PDF versions for Drupal 8+ 8

Same name and namespace in other branches
  1. 2.x src/Tests/PrintablePdfFormTest.php \Drupal\printable\Tests\PrintablePdfFormTest::setUp()

Perform any initial set up tasks that run before every test method.

Overrides WebTestBase::setUp

File

src/Tests/PrintablePdfFormTest.php, line 31

Class

PrintablePdfFormTest
Tests the printable module functionality.

Namespace

Drupal\printable\Tests

Code

public function setUp() {
  parent::setUp();
  $this->user = $this
    ->drupalCreateUser([
    'administer printable',
  ]);
  $this
    ->drupalLogin($this->user);
}