Simplify test

This commit is contained in:
Pieter Noordhuis 2024-10-24 11:11:42 +02:00
parent 9a0f169840
commit 94d3b5e0da
No known key found for this signature in database
GPG Key ID: 12ACCCC104CF2930
1 changed files with 1 additions and 6 deletions

View File

@ -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": {},