]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
37db51a
)
Updated test to ensure autofocus is set on TOTP input
author
Dan Brown
<redacted>
Mon, 22 Nov 2021 13:28:46 +0000
(13:28 +0000)
committer
Dan Brown
<redacted>
Mon, 22 Nov 2021 13:28:46 +0000
(13:28 +0000)
tests/Auth/MfaVerificationTest.php
patch
|
blob
|
history
diff --git
a/tests/Auth/MfaVerificationTest.php
b/tests/Auth/MfaVerificationTest.php
index 49ca6663d79c07870d0136440e2998365f755d25..9a6106243241d00e8cfd9c95b493ae1a62a49d9d 100644
(file)
--- a/
tests/Auth/MfaVerificationTest.php
+++ b/
tests/Auth/MfaVerificationTest.php
@@
-23,7
+23,7
@@
class MfaVerificationTest extends TestCase
$resp = $this->get('/mfa/verify');
$resp->assertSee('Verify Access');
$resp->assertSee('Enter the code, generated using your mobile app, below:');
- $resp->assertElementExists('form[action$="/mfa/totp/verify"] input[name="code"]');
+ $resp->assertElementExists('form[action$="/mfa/totp/verify"] input[name="code"]
[autofocus]
');
$google2fa = new Google2FA();
$resp = $this->post('/mfa/totp/verify', [