From 26cba792a885179601a2187cb8c314b4a80dc0f5 Mon Sep 17 00:00:00 2001 From: Denozordec Date: Sun, 15 Nov 2026 21:24:31 +0700 Subject: [PATCH] =?UTF-8?q?fix(test):=20=D0=B7=D0=B0=D0=B4=D0=B0=D1=82?= =?UTF-8?q?=D1=8C=20=D1=87=D0=B0=D1=81=D0=BE=D0=B2=D0=BE=D0=B9=20=D0=B1?= =?UTF-8?q?=D1=8E=D0=B4=D0=B6=D0=B5=D1=82=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=B4=D0=BB=D1=8F=20OSPF-=D1=81?= =?UTF-8?q?=D1=86=D0=B5=D0=BD=D0=B0=D1=80=D0=B8=D1=8F=20=D0=B8=D0=BD=D1=82?= =?UTF-8?q?=D0=B5=D0=B3=D1=80=D0=B0=D1=86=D0=B8=D0=BE=D0=BD=D0=BD=D0=BE?= =?UTF-8?q?=D0=B3=D0=BE=20=D1=82=D0=B5=D1=81=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 --- backend/src/modules/mcp/integration.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/modules/mcp/integration.test.ts b/backend/src/modules/mcp/integration.test.ts index 33a84811..ad40ff8d 100644 --- a/backend/src/modules/mcp/integration.test.ts +++ b/backend/src/modules/mcp/integration.test.ts @@ -1540,7 +1540,7 @@ try { } finally { nativeAliasFixtures = false } ospfFixtures = true fixtureVrfs = [...initialVrfs] - const ospfAccess = await createMcpConnection(mcpConnectionCreateSchema.parse({ name: "OSPF dependency test", mode: "approval", expiresAt: new Date(Date.now() + 1800000).toISOString(), permissions: ["mm:network:read", "mm:network:write"], scope: { serverIds: [1], operationIds: ["ros.ospf_instance.create", "ros.ospf_instance.delete", "ros.ospf_area.delete", "ros.ospf_template.create", "ros.ospf_template.update", "ros.ospf_template.delete", "operations.recover", "ros.bfd_configuration.create"], allowGlobal: false } }), actor) + const ospfAccess = await createMcpConnection(mcpConnectionCreateSchema.parse({ name: "OSPF dependency test", mode: "approval", expiresAt: new Date(Date.now() + 1800000).toISOString(), permissions: ["mm:network:read", "mm:network:write"], scope: { serverIds: [1], operationIds: ["ros.ospf_instance.create", "ros.ospf_instance.delete", "ros.ospf_area.delete", "ros.ospf_template.create", "ros.ospf_template.update", "ros.ospf_template.delete", "operations.recover", "ros.bfd_configuration.create"], allowGlobal: false }, limits: { callsPerMinute: 120, mutationsPerHour: 1000 } }), actor) const ospfPrincipal = await authenticateMcpToken(ospfAccess.token) const { readRosSnapshot: readPassiveSnapshot } = await import("./resources.js") const passiveFixture = fixtureOspf["interface-template"][0] as Record, previousPassive = passiveFixture.passive