You are here

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

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

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

Overrides WebTestBase::setUp

File

src/Tests/PrintableFormTest.php, line 31

Class

PrintableFormTest
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);
}