Fix failing tests related to these changes

This commit is contained in:
Dane Everitt
2022-02-13 18:32:02 -05:00
parent 341ff6e178
commit e683c0a518
5 changed files with 90 additions and 4 deletions
@@ -108,6 +108,7 @@ class RequireTwoFactorAuthenticationTest extends MiddlewareTestCase
$this->assertFalse($user->use_totp);
$this->assertEmpty($user->totp_secret);
$this->assertEmpty($user->totp_authenticated_at);
$this->assertEmpty($user->securityKeys);
$this->request->shouldReceive('getRequestUri')->withNoArgs()->andReturn('/');
$this->request->shouldReceive('route->getName')->withNoArgs()->andReturn(null);