You are here

public function IntegrationTest::setUp in Webform Deter 8

Overrides BrowserTestBase::setUp

File

tests/src/FunctionalJavascript/IntegrationTest.php, line 29

Class

IntegrationTest
Tests basic webform_deter functionality.

Namespace

Drupal\Tests\webform_deter\FunctionalJavascript

Code

public function setUp() {
  parent::setUp();
  $account = $this
    ->drupalCreateUser([
    'access webform overview',
    'administer webform',
    'administer webform submission',
    'bypass node access',
    'view any webform submission',
    'edit any webform submission',
    'administer webform_deter',
    'access administration pages',
  ]);
  $this
    ->drupalLogin($account);
}