Skip to content

Commit 69216b0

Browse files
committed
test(mcp): re-pin the withheldFields stdio control in main's query_records page shape
Claude-Session: https://claude.ai/code/session_01JQwxbWDsbbJizuYnDwBxT8 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0eaa53f commit 69216b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/mcp/src/query-records-withheld-fields.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ describe('stdio bridge — withheldFields from the served schema and the readabl
282282
const unsecured = await stdioSession(AUTHOR, undefined);
283283
try {
284284
const a = await unrestricted.query();
285-
expect(a.payload).toEqual({ object: OBJECT, records: [SERVED_ROW], total: 1 });
285+
expect(a.payload).toEqual({ object: OBJECT, records: [SERVED_ROW], hasMore: false });
286286
expect(security.getReadableFields).toHaveBeenCalledWith(OBJECT, expect.objectContaining({ userId: AUTHOR.userId }));
287287
expect((await unsecured.query()).text).toBe(a.text);
288288
expect((await unsecured.get()).payload).toEqual(SERVED_ROW);

0 commit comments

Comments
 (0)