mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-22 10:18:04 +01:00
Update the push latency manager to use UUIDs and a Redis cluster.
This commit is contained in:
committed by
Jon Chambers
parent
901ba6e87f
commit
f3b644ceb8
@@ -1,15 +0,0 @@
|
||||
package org.whispersystems.textsecuregcm.tests.util;
|
||||
|
||||
import org.mockito.ArgumentMatchers;
|
||||
import org.whispersystems.textsecuregcm.storage.Account;
|
||||
import org.whispersystems.textsecuregcm.storage.Device;
|
||||
|
||||
public class MatcherHelper {
|
||||
public static Account accountWithNumber(final String accountNumber) {
|
||||
return ArgumentMatchers.argThat(account -> accountNumber.equals(account.getNumber()));
|
||||
}
|
||||
|
||||
public static Device deviceWithId(final long deviceId) {
|
||||
return ArgumentMatchers.argThat(device -> device.getId() == deviceId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user