mirror of https://github.com/databricks/cli.git
fix failing tests
This commit is contained in:
parent
3571410209
commit
f3d7f09150
|
@ -18,7 +18,7 @@ func TestEntryPointNoRootPath(t *testing.T) {
|
||||||
|
|
||||||
func TestEntryPoint(t *testing.T) {
|
func TestEntryPoint(t *testing.T) {
|
||||||
b := &bundle.Bundle{
|
b := &bundle.Bundle{
|
||||||
RootPath: "testdata",
|
RootPath: "testdata/basic",
|
||||||
}
|
}
|
||||||
diags := bundle.Apply(context.Background(), b, loader.EntryPoint())
|
diags := bundle.Apply(context.Background(), b, loader.EntryPoint())
|
||||||
require.NoError(t, diags.Error())
|
require.NoError(t, diags.Error())
|
||||||
|
|
|
@ -22,6 +22,7 @@ var resourceTypes = []string{
|
||||||
"registered_model",
|
"registered_model",
|
||||||
"quality_monitor",
|
"quality_monitor",
|
||||||
"schema",
|
"schema",
|
||||||
|
"cluster",
|
||||||
}
|
}
|
||||||
|
|
||||||
func validateFileFormat(r *config.Root, filePath string) diag.Diagnostics {
|
func validateFileFormat(r *config.Root, filePath string) diag.Diagnostics {
|
||||||
|
|
Loading…
Reference in New Issue