|
@@ -60,7 +60,7 @@ class TwoFAccountUpdateRequestTest extends TestCase
|
|
|
'icon' => 'icon.png',
|
|
|
'otp_type' => 'hotp',
|
|
|
'secret' => 'A4GRFHZVRBGY7UIW',
|
|
|
- 'digits' => 6,
|
|
|
+ 'digits' => 8,
|
|
|
'algorithm' => 'sha1',
|
|
|
'counter' => 10,
|
|
|
]],
|
|
@@ -70,7 +70,7 @@ class TwoFAccountUpdateRequestTest extends TestCase
|
|
|
'icon' => null,
|
|
|
'otp_type' => 'hotp',
|
|
|
'secret' => 'A4GRFHZVRBGY7UIW',
|
|
|
- 'digits' => 6,
|
|
|
+ 'digits' => 10,
|
|
|
'algorithm' => 'sha1',
|
|
|
'period' => null,
|
|
|
'counter' => 15,
|
|
@@ -145,7 +145,7 @@ class TwoFAccountUpdateRequestTest extends TestCase
|
|
|
'icon' => null,
|
|
|
'otp_type' => 'totp',
|
|
|
'secret' => 'A4GRFHZVRBGY7UIW',
|
|
|
- 'digits' => 5,
|
|
|
+ 'digits' => 4,
|
|
|
'algorithm' => 'sha1',
|
|
|
'period' => null,
|
|
|
'counter' => 15,
|
|
@@ -189,7 +189,7 @@ class TwoFAccountUpdateRequestTest extends TestCase
|
|
|
'icon' => null,
|
|
|
'otp_type' => 'totp',
|
|
|
'secret' => 'A4GRFHZVRBGY7UIW',
|
|
|
- 'digits' => 5,
|
|
|
+ 'digits' => 4,
|
|
|
'algorithm' => 'sha1',
|
|
|
'period' => null,
|
|
|
'counter' => -1,
|