From 64b6cafcaaaca0db7603a35c833ca3140a4a973d Mon Sep 17 00:00:00 2001 From: Ayaan Zaidi Date: Wed, 20 May 2026 08:53:12 +0530 Subject: [PATCH] test(android): update gateway hello callback fixtures --- .../java/ai/openclaw/app/gateway/GatewaySessionInvokeTest.kt | 2 +- .../java/ai/openclaw/app/gateway/GatewaySessionReconnectTest.kt | 2 +- .../src/test/java/ai/openclaw/app/voice/TalkModeManagerTest.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/android/app/src/test/java/ai/openclaw/app/gateway/GatewaySessionInvokeTest.kt b/apps/android/app/src/test/java/ai/openclaw/app/gateway/GatewaySessionInvokeTest.kt index 270a2b4f5fe..3b0211927c6 100644 --- a/apps/android/app/src/test/java/ai/openclaw/app/gateway/GatewaySessionInvokeTest.kt +++ b/apps/android/app/src/test/java/ai/openclaw/app/gateway/GatewaySessionInvokeTest.kt @@ -642,7 +642,7 @@ class GatewaySessionInvokeTest { scope = CoroutineScope(sessionJob + Dispatchers.Default), identityStore = DeviceIdentityStore(app), deviceAuthStore = deviceAuthStore, - onConnected = { _, _, _ -> + onConnected = { if (!connected.isCompleted) connected.complete(Unit) }, onDisconnected = { message -> diff --git a/apps/android/app/src/test/java/ai/openclaw/app/gateway/GatewaySessionReconnectTest.kt b/apps/android/app/src/test/java/ai/openclaw/app/gateway/GatewaySessionReconnectTest.kt index 1d9c1dd567a..58cca4ce1db 100644 --- a/apps/android/app/src/test/java/ai/openclaw/app/gateway/GatewaySessionReconnectTest.kt +++ b/apps/android/app/src/test/java/ai/openclaw/app/gateway/GatewaySessionReconnectTest.kt @@ -241,7 +241,7 @@ class GatewaySessionReconnectTest { scope = CoroutineScope(sessionJob + Dispatchers.Default), identityStore = DeviceIdentityStore(app), deviceAuthStore = ReconnectDeviceAuthStore(), - onConnected = { _, _, _ -> }, + onConnected = {}, onDisconnected = { _ -> }, onEvent = { _, _ -> }, onInvoke = { GatewaySession.InvokeResult.ok("""{"handled":true}""") }, diff --git a/apps/android/app/src/test/java/ai/openclaw/app/voice/TalkModeManagerTest.kt b/apps/android/app/src/test/java/ai/openclaw/app/voice/TalkModeManagerTest.kt index 61e9b39d983..d50dcc18807 100644 --- a/apps/android/app/src/test/java/ai/openclaw/app/voice/TalkModeManagerTest.kt +++ b/apps/android/app/src/test/java/ai/openclaw/app/voice/TalkModeManagerTest.kt @@ -256,7 +256,7 @@ class TalkModeManagerTest { scope = CoroutineScope(sessionJob + Dispatchers.Default), identityStore = DeviceIdentityStore(app), deviceAuthStore = InMemoryDeviceAuthStore(), - onConnected = { _, _, _ -> }, + onConnected = {}, onDisconnected = {}, onEvent = { _, _ -> }, )