Actually use the deviceId parameter in AccountsGrpcServiceTest#clearRegistrationLock

This commit is contained in:
Jon Chambers authored and Jon Chambers committed 2026-08-11 09:11:50 -04:00
1 parent 101fa4010d
commit d69a5f1f33
1 file changed
+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);