From d9051506b79fb0c6241f05694bb9b0f9fa4cbc8a Mon Sep 17 00:00:00 2001 From: 777genius Date: Wed, 6 May 2026 00:16:58 +0300 Subject: [PATCH] test(mcp): align work sync status refresh route --- mcp-server/test/tools.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mcp-server/test/tools.test.ts b/mcp-server/test/tools.test.ts index a5f04b8f..034df9f2 100644 --- a/mcp-server/test/tools.test.ts +++ b/mcp-server/test/tools.test.ts @@ -411,7 +411,7 @@ describe('agent-teams-mcp tools', () => { const calls: Array<{ method?: string; url?: string; body?: unknown }> = []; const server = await startControlServer(async ({ method, url, body }) => { calls.push({ method, url, body }); - if (method === 'GET' && url === '/api/teams/alpha/member-work-sync/alice') { + if (method === 'POST' && url === '/api/teams/alpha/member-work-sync/alice/refresh') { return { body: { teamName: 'alpha', @@ -467,9 +467,9 @@ describe('agent-teams-mcp tools', () => { expect(calls).toEqual([ { - method: 'GET', - url: '/api/teams/alpha/member-work-sync/alice', - body: undefined, + method: 'POST', + url: '/api/teams/alpha/member-work-sync/alice/refresh', + body: {}, }, { method: 'POST',