From 268fdec2ceeafb668c1f7d632722868ae078ec00 Mon Sep 17 00:00:00 2001 From: Val Alexander Date: Fri, 13 Mar 2026 16:32:37 -0500 Subject: [PATCH] test: update outbound gateway client fixture values --- src/infra/outbound/outbound-send-service.test.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/infra/outbound/outbound-send-service.test.ts b/src/infra/outbound/outbound-send-service.test.ts index 391abee8dda..ac144265753 100644 --- a/src/infra/outbound/outbound-send-service.test.ts +++ b/src/infra/outbound/outbound-send-service.test.ts @@ -1,4 +1,5 @@ import { beforeEach, describe, expect, it, vi } from "vitest"; +import { GATEWAY_CLIENT_MODES, GATEWAY_CLIENT_NAMES } from "../../utils/message-channel.js"; const mocks = vi.hoisted(() => ({ getDefaultMediaLocalRoots: vi.fn(() => []), @@ -204,8 +205,8 @@ describe("executeSendAction", () => { url: "http://127.0.0.1:18789", token: "tok", timeoutMs: 5000, - clientName: "gateway", - mode: "gateway", + clientName: GATEWAY_CLIENT_NAMES.GATEWAY_CLIENT, + mode: GATEWAY_CLIENT_MODES.BACKEND, }, }, to: "channel:123", @@ -296,8 +297,8 @@ describe("executeSendAction", () => { url: "http://127.0.0.1:18789", token: "tok", timeoutMs: 5000, - clientName: "gateway", - mode: "gateway", + clientName: GATEWAY_CLIENT_NAMES.GATEWAY_CLIENT, + mode: GATEWAY_CLIENT_MODES.BACKEND, }, }, to: "channel:123",