Fixed TestAccBundleDeployUcSchema test (#1997)

## Changes
It was failing because when schema.yml was removed, `catalog: main`
option left set in the base pipeline definition in databricks.yml which
lead to incorrect config (empty target schema)
https://github.com/databricks/cli/pull/1413

Backend behaviour changed and DLT pipelines stopped to accept empty
targets leading to the error which was ignored before.

## Tests
```
--- PASS: TestAccBundleDeployUcSchema (41.75s)
PASS
coverage: 33.3% of statements in ./...
ok      github.com/databricks/cli/internal/bundle       42.210s coverage: 33.3% of statements in ./...
```
This commit is contained in:
Andrew Nester 2024-12-11 15:00:43 +01:00 committed by GitHub
parent e39e94b12f
commit aa0b6080a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,6 @@ resources:
- notebook:
path: ./nb.sql
development: true
catalog: main
include:
- "*.yml"

View File

@ -11,3 +11,4 @@ targets:
pipelines:
foo:
target: ${resources.schemas.bar.id}
catalog: main