We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d63012 commit cd4a29fCopy full SHA for cd4a29f
src/tools/__tests__/execute-sql.test.ts
@@ -151,16 +151,6 @@ describe('execute-sql tool', () => {
151
expect(parseToolResponse(result).code).toBe('READONLY_VIOLATION');
152
});
153
154
- it('should include source_id in error message', async () => {
155
- // Create connector with source ID 'prod_db'
156
- const prodConnector = createMockConnector('sqlite', 'prod_db');
157
- mockGetCurrentConnector.mockReturnValue(prodConnector);
158
-
159
- const handler = createExecuteSqlToolHandler('prod_db');
160
- const result = await handler({ sql: "DROP TABLE users" }, null);
161
162
- expect(parseToolResponse(result).error).toContain('prod_db');
163
- });
164
165
166
describe('readonly per-source isolation', () => {
0 commit comments