You are here

protected function WebformEncryptEditSumissionsTest::setUp in Webform Encrypt 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/WebformEncryptEditSumissionsTest.php, line 39

Class

WebformEncryptEditSumissionsTest
Tests editing of encrypted webform submissions.

Namespace

Drupal\Tests\webform_encrypt\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->notViewEncryptedUser = $this
    ->drupalCreateUser([
    'view any webform submission',
    'edit any webform submission',
  ]);
  $this->viewEncryptedUser = $this
    ->drupalCreateUser([
    'view any webform submission',
    'edit any webform submission',
    'view encrypted values',
  ]);
}