Include new/previous push token types as dimensions on "account created" counter

This commit is contained in:
Jon Chambers
2024-11-15 15:14:09 -05:00
committed by Jon Chambers
parent b32e67ff9e
commit 66783c9381
2 changed files with 32 additions and 5 deletions

View File

@@ -853,6 +853,7 @@ class AccountsManagerTest {
when(existingAccount.getNumber()).thenReturn(e164);
when(existingAccount.getPhoneNumberIdentifier()).thenReturn(requestedAccount.getIdentifier(IdentityType.PNI));
when(existingAccount.getIdentifier(IdentityType.PNI)).thenReturn(requestedAccount.getIdentifier(IdentityType.PNI));
when(existingAccount.getPrimaryDevice()).thenReturn(mock(Device.class));
throw new AccountAlreadyExistsException(existingAccount);
});