public function PrintableFormTest::setUp in Printer and PDF versions for Drupal 8+ 2.x
Same name and namespace in other branches
- 8 src/Tests/PrintableFormTest.php \Drupal\printable\Tests\PrintableFormTest::setUp()
Perform any initial set up tasks that run before every test method.
Overrides BrowserTestBase::setUp
File
- src/
Tests/ PrintableFormTest.php, line 31
Class
- PrintableFormTest
- Tests the printable module functionality.
Namespace
Drupal\printable\TestsCode
public function setUp() {
parent::setUp();
$this->user = $this
->drupalCreateUser([
'administer printable',
]);
$this
->drupalLogin($this->user);
}