public function TfaLoginTest::setUp in Two-factor Authentication (TFA) 8
Overrides TfaTestBase::setUp
File
- tests/
src/ Functional/ TfaLoginTest.php, line 29
Class
- TfaLoginTest
- Tests for the tfa login process.
Namespace
Drupal\Tests\tfa\FunctionalCode
public function setUp() : void {
parent::setUp();
$this->webUser = $this
->drupalCreateUser([
'setup own tfa',
]);
$this->adminUser = $this
->drupalCreateUser([
'admin tfa settings',
]);
$this
->canEnableValidationPlugin('tfa_test_plugins_validation');
}