Decrease necessary entropy for running tests

This commit is contained in:
games647
2022-06-23 19:26:15 +02:00
parent 700b889aa9
commit a0fddd69aa

View File

@ -64,7 +64,7 @@ public class EncryptionUtilTest {
@Test
public void testVerifyToken() {
SecureRandom random = new SecureRandom();
var random = ThreadLocalRandom.current();
byte[] token = EncryptionUtil.generateVerifyToken(random);
assertThat(token, notNullValue());