mirror of
https://github.com/elyby/accounts.git
synced 2026-11-26 17:13:26 +05:30
Обновлён Spomky-Labs/otphp до 9.0.2 версии
This commit is contained in:
1 parent
7f5c1e4818
commit
549db30b2b
12 files changed
+28
-18
No files matched your search
@@ -74,7 +74,7 @@ class ForgotPasswordCest {
|
||||
|
||||
public function testForgotPasswordByAccountWithOtp(FunctionalTester $I) {
|
||||
$I->wantTo('create new password recover request by passing username and otp token');
|
||||
$totp = new TOTP(null, 'secret-secret-secret');
|
||||
$totp = TOTP::create('BBBB');
|
||||
$this->route->forgotPassword('AccountWithEnabledOtp', $totp->now());
|
||||
$this->assertSuccessResponse($I, true);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user