mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-22 06:38:05 +01:00
Retire Device#hasMessageDeliveryChannel()
This commit is contained in:
committed by
Jon Chambers
parent
1a09f5807b
commit
73e0aea85c
@@ -107,7 +107,6 @@ class DestinationDeviceValidatorTest {
|
||||
|
||||
enabledStateByDeviceId.forEach((deviceId, enabled) -> {
|
||||
final Device device = mock(Device.class);
|
||||
when(device.hasMessageDeliveryChannel()).thenReturn(enabled);
|
||||
when(device.getId()).thenReturn(deviceId);
|
||||
when(account.getDevice(deviceId)).thenReturn(Optional.of(device));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user