Update IRNGProviderTest.php

This commit is contained in:
Matthijs
2024-03-04 16:16:31 +01:00
committed by GitHub
parent d996779182
commit 319a58a001
+1 -1
View File
@@ -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