mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-11-30 01:06:50 +00:00
Actually use the deviceId parameter in AccountsGrpcServiceTest#clearRegistrationLock
This commit is contained in:
1 parent
101fa4010d
commit
d69a5f1f33
1 file changed
+1
-1
+1
-1
@@ -269,7 +269,7 @@ class AccountsGrpcServiceTest extends SimpleBaseGrpcTest<AccountsGrpcService, Ac
|
||||
@ParameterizedTest
|
||||
@ValueSource(bytes = { Device.PRIMARY_ID, Device.PRIMARY_ID + 1 })
|
||||
void clearRegistrationLock(final byte deviceId) {
|
||||
getMockAuthenticationInterceptor().setAuthenticatedDevice(AUTHENTICATED_ACI, (byte) (Device.PRIMARY_ID + 1));
|
||||
getMockAuthenticationInterceptor().setAuthenticatedDevice(AUTHENTICATED_ACI, deviceId);
|
||||
|
||||
final Account account = mock(Account.class);
|
||||
|
||||
|
||||
Reference in new issue
Block a user