mirror of
https://github.com/signalapp/Signal-Server
synced 2026-09-03 03:00:16 +01:00
Add a missing @Test annotation
This commit is contained in:
committed by
Jon Chambers
parent
b247fc24c1
commit
31b34ed06f
@@ -319,9 +319,10 @@ class AccountTest {
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
void getNextTotpKeyNoneAvailable() {
|
||||
final Account account = new Account();
|
||||
account.setTotpKeys(IntStream.range(0, Account.MAX_TOTP_KEY_ID)
|
||||
account.setTotpKeys(IntStream.range(0, Account.MAX_TOTP_KEY_ID + 1)
|
||||
.mapToObj(i -> (byte) i)
|
||||
.collect(Collectors.toMap(keyId -> keyId, _ -> new AnnotatedTotpKey(new TotpKey(
|
||||
new TotpParameters(
|
||||
|
||||
Reference in New Issue
Block a user