mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-30 10:47:33 +02:00
Decrease necessary entropy for running tests
This commit is contained in:
@ -64,7 +64,7 @@ public class EncryptionUtilTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testVerifyToken() {
|
public void testVerifyToken() {
|
||||||
SecureRandom random = new SecureRandom();
|
var random = ThreadLocalRandom.current();
|
||||||
byte[] token = EncryptionUtil.generateVerifyToken(random);
|
byte[] token = EncryptionUtil.generateVerifyToken(random);
|
||||||
|
|
||||||
assertThat(token, notNullValue());
|
assertThat(token, notNullValue());
|
||||||
|
Reference in New Issue
Block a user