From f4b2a08c85535cba5145191e77714707c5c91c5a Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Thu, 7 May 2026 02:49:06 -0700 Subject: [PATCH] test(gateway): use core node command in pairing authz --- src/gateway/server.node-pairing-authz.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gateway/server.node-pairing-authz.test.ts b/src/gateway/server.node-pairing-authz.test.ts index 17dbfb63f13..e07dca19675 100644 --- a/src/gateway/server.node-pairing-authz.test.ts +++ b/src/gateway/server.node-pairing-authz.test.ts @@ -255,17 +255,17 @@ describe("gateway node pairing authorization", () => { test("requests re-pairing when a paired node reconnects with upgraded commands", async () => { await expectRePairingRequest({ pairedName: "node-command-pin", - initialCommands: ["canvas.snapshot"], - reconnectCommands: ["canvas.snapshot", "system.run"], + initialCommands: ["screen.snapshot"], + reconnectCommands: ["screen.snapshot", "system.run"], approvalScopes: ["operator.pairing", "operator.write"], - expectedVisibleCommands: ["canvas.snapshot"], + expectedVisibleCommands: ["screen.snapshot"], }); }); test("requests re-pairing when a commandless paired node reconnects with system.run", async () => { await expectRePairingRequest({ pairedName: "node-command-empty", - reconnectCommands: ["canvas.snapshot", "system.run"], + reconnectCommands: ["screen.snapshot", "system.run"], approvalScopes: ["operator.pairing"], expectedVisibleCommands: [], });