mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-31 20:47:37 +00:00
Update IRNGProviderTest.php
This commit is contained in:
@@ -34,7 +34,7 @@ class IRNGProviderTest extends TestCase
|
||||
$rng = new TestRNGProvider(true);
|
||||
|
||||
$tfa = new TwoFactorAuth('Test', 6, 30, Algorithm::Sha1, null, $rng);
|
||||
$this->assertSame('ABCDEFGHIJKLMNOP', $tfa->createSecret());
|
||||
$this->assertSame('ABCDEFGHIJKLMNOPQRSTUVWXYZ234567', $tfa->createSecret());
|
||||
}
|
||||
|
||||
public function testCreateSecretGeneratesDesiredAmountOfEntropy(): void
|
||||
|
||||
Reference in New Issue
Block a user