Fix portal agent runtime route test for cursor policy service wiring.
Memind CI / Test, build, and release guards (push) Successful in 5m22s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-28 15:33:31 +08:00
parent 416bf7a29a
commit cebcc85e84
@@ -262,6 +262,7 @@ test('proxy-backed routes preserve handler order and fall through after completi
getSessionAccess: () => ({ id: 'session-access' }),
getMindSpaceAssetAgent: () => ({ id: 'asset-agent' }),
getCodeRunPolicyService: () => ({ id: 'code-run-policy' }),
getCursorExecutorPolicyService: () => ({ id: 'cursor-policy' }),
createPostAgentRunsHandlerFn(dependencies) {
calls.push({ kind: 'create-post', dependencies });
return (req, _res, next) => {
@@ -325,6 +326,7 @@ test('proxy-backed routes preserve handler order and fall through after completi
agentRunGateway: { id: 'gateway' },
mindSpaceAssetAgent: { id: 'asset-agent' },
codeRunPolicyService: { id: 'code-run-policy' },
cursorExecutorPolicyService: { id: 'cursor-policy' },
goalRunService: null,
chatIntentRouter: null,
templateCatalogService: null,