diff --git a/src/controlplane-api.test.ts b/src/controlplane-api.test.ts index da861d2..91de115 100644 --- a/src/controlplane-api.test.ts +++ b/src/controlplane-api.test.ts @@ -175,9 +175,6 @@ function defaultMockQuery( return { rows: agents }; } // budget queries removed - if (params?.[0]) { - } - } if (/SELECT.*FROM agent_activity/i.test(sql)) return { rows: [] }; if (/UPDATE tasks.*RETURNING/i.test(sql)) { const taskId = params?.[1]; @@ -405,13 +402,6 @@ describe('Control Plane HTTP API — contract tests', () => { expect(res.body.agents[0]).toHaveProperty('id'); expect(res.body.agents[0]).toHaveProperty('role'); }); - const res = await makeRequest( - handler, - 'GET', - '/api/controlplane/state', - undefined, - validAuth, - ); it('returns 401 without Authorization header', async () => { const { handler } = await setup();