mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 18:16:53 +00:00
Retire the device count override system
This commit is contained in:
1 parent
bbeeed9d1f
commit
1b5c602351
5 files changed
+7
-72
No files matched your search
+1
-5
@@ -35,9 +35,7 @@ import java.time.temporal.ChronoUnit;
|
||||
import java.util.Arrays;
|
||||
import java.util.Base64;
|
||||
import java.util.EnumSet;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Optional;
|
||||
import java.util.Set;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
@@ -111,7 +109,6 @@ class DeviceControllerTest {
|
||||
private static final Account account = mock(Account.class);
|
||||
private static final Account maxedAccount = mock(Account.class);
|
||||
private static final Device primaryDevice = mock(Device.class);
|
||||
private static final Map<String, Integer> deviceConfiguration = new HashMap<>();
|
||||
private static final TestClock testClock = TestClock.now();
|
||||
|
||||
private static final byte NEXT_DEVICE_ID = 42;
|
||||
@@ -119,8 +116,7 @@ class DeviceControllerTest {
|
||||
private static final DeviceController deviceController = new DeviceController(
|
||||
accountsManager,
|
||||
rateLimiters,
|
||||
persistentTimer,
|
||||
deviceConfiguration);
|
||||
persistentTimer);
|
||||
|
||||
private static final ResourceExtension resources = ResourceExtension.builder()
|
||||
.addProperty(ServerProperties.UNWRAP_COMPLETION_STAGE_IN_WRITER_ENABLE, Boolean.TRUE)
|
||||
|
||||
Reference in new issue
Block a user