You are here

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

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

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

Overrides NodeTestBase::setUp

File

src/Tests/PrintableUninstallTest.php, line 24

Class

PrintableUninstallTest
Tests the whether printable module uninstall successfully.

Namespace

Drupal\printable\Tests

Code

public function setUp() {
  parent::setUp();
  $web_user = $this
    ->drupalCreateUser([
    'create page content',
    'edit own page content',
    'view printer friendly versions',
  ]);
  $this
    ->drupalLogin($web_user);
}