test(ingest): supply explicit no-input schema scope in skip-llm setup (#287)

The "prints provider setup guidance when a skip-llm setup project runs
ingest" test drives runKtxSetup in --no-input (inputMode: disabled) mode
with a postgres warehouse but databaseSchemas: []. PR #286 changed the
no-input contract to require an explicit database scope instead of
auto-scanning, so setup now exits 1 and the test's first assertion
(resolves.toBe(0)) fails. #286 updated setup-databases.test.ts but missed
this runKtxSetup call in ingest.test.ts. Pass databaseSchemas: ['public']
to satisfy the new contract, matching #286's own test updates.
This commit is contained in:
Andrey Avtomonov 2026-06-10 14:22:22 +02:00 committed by GitHub
parent 2877b85adc
commit 058051f1b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -271,7 +271,7 @@ describe('runKtxIngest', () => {
databaseDrivers: ['postgres'], databaseDrivers: ['postgres'],
databaseConnectionId: 'warehouse', databaseConnectionId: 'warehouse',
databaseUrl: 'env:WAREHOUSE_URL', databaseUrl: 'env:WAREHOUSE_URL',
databaseSchemas: [], databaseSchemas: ['public'],
enableQueryHistory: true, enableQueryHistory: true,
skipDatabases: false, skipDatabases: false,
skipSources: true, skipSources: true,