mirror of https://github.com/databricks/cli.git
Simplify test
This commit is contained in:
parent
9a0f169840
commit
94d3b5e0da
|
@ -6,7 +6,6 @@ import (
|
||||||
"github.com/databricks/cli/bundle"
|
"github.com/databricks/cli/bundle"
|
||||||
"github.com/databricks/cli/bundle/config"
|
"github.com/databricks/cli/bundle/config"
|
||||||
"github.com/databricks/cli/bundle/config/resources"
|
"github.com/databricks/cli/bundle/config/resources"
|
||||||
"github.com/databricks/databricks-sdk-go/service/jobs"
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -16,11 +15,7 @@ func TestCompletions_SkipDuplicates(t *testing.T) {
|
||||||
Resources: config.Resources{
|
Resources: config.Resources{
|
||||||
Jobs: map[string]*resources.Job{
|
Jobs: map[string]*resources.Job{
|
||||||
"foo": {},
|
"foo": {},
|
||||||
"bar": {
|
"bar": {},
|
||||||
JobSettings: &jobs.JobSettings{
|
|
||||||
Name: "Bar job",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
Pipelines: map[string]*resources.Pipeline{
|
Pipelines: map[string]*resources.Pipeline{
|
||||||
"foo": {},
|
"foo": {},
|
||||||
|
|
Loading…
Reference in New Issue