Skip to content

Commit 2c4eada

Browse files
committed
test(service-automation): a held husk has no action to resolve
Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 1bcba1e commit 2c4eada

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/services/service-automation/src/connector-mcp-authorization-door.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ describe('ADR-0143 D4 — a borrowed token refused at tool discovery is its conn
423423
}));
424424
await vi.waitFor(() => expect(engine.getConnectorDegradedReason('notion')).toContain("needs to be reconnected for organization 'org_a'"));
425425
expect(engine.getConnectorDegradedReason('notion')).toContain('while it listed its tools (HTTP 403)');
426-
await expect(call()).rejects.toMatchObject({ status: 503 });
426+
expect(engine.resolveConnectorAction('notion', 'search')).toBeUndefined();
427427

428428
// A reconnect by the same organization re-attempts discovery, and the instance serves.
429429
await (await connect()).done();

0 commit comments

Comments
 (0)