You are here

public function TfaConfigTest::setUp in Two-factor Authentication (TFA) 8

Overrides TfaTestBase::setUp

File

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

Class

TfaConfigTest
Tests the Tfa UI.

Namespace

Drupal\Tests\tfa\Functional

Code

public function setUp() : void {

  // Enable TFA module and the test module.
  parent::setUp();
  $this->webUser = $this
    ->drupalCreateUser([
    'setup own tfa',
  ]);
  $this->adminUser = $this
    ->drupalCreateUser([
    'admin tfa settings',
  ]);
}