Skip to content

Commit

Permalink
Getting all tests to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed Jun 12, 2024
1 parent 6b39473 commit 13ebc3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tests/Browser/TwoFactorAuthTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
});

test('Successfully View 2FA Setup Page', function () {

$this->setConfig('devdojo.auth.settings.enable_2fa', true);
$this->browse(function (Browser $browser) {
$browser
->createJohnDoe()
Expand All @@ -26,4 +26,5 @@
->waitForText('Finish enabling two factor authentication')
->assertSee('Finish enabling two factor authentication');
});
$this->resetConfig();
});
3 changes: 1 addition & 2 deletions tests/Browser/TwoFactorChallengeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
->enable2FAforJohnDoe()
->formLoginAsJohnDoe()
->assertPathIs('/auth/two-factor-challenge');

$browser->pause(2000);
});
$this->resetConfig();
});

0 comments on commit 13ebc3f

Please sign in to comment.