public function GALoginHotpSetupPluginTest::testTfaOverviewExists in Google Authenticator login 8
Test that the overview page exists for a standard user.
File
- tests/
src/ Functional/ GALoginHotpSetupPluginTest.php, line 67
Class
- GALoginHotpSetupPluginTest
- Class GALoginHotpSetupPluginTest.
Namespace
Drupal\Tests\ga_login\FunctionalCode
public function testTfaOverviewExists() {
$this
->drupalGet('user/' . $this->userAccount
->id() . '/security/tfa');
$assert = $this
->assertSession();
$assert
->statusCodeEquals(200);
$assert
->linkExists('Set up application');
}