fix tests

This commit is contained in:
Bryce Lampe
2024-04-26 11:49:50 -07:00
parent 63ca9973ae
commit f2e43df5af
3 changed files with 43 additions and 11 deletions

View File

@@ -59,7 +59,10 @@ func TestAnnotate(t *testing.T) {
func TestSchema(t *testing.T) {
t.Parallel()
Schema(context.Background(), "v4")
s := newServer(nil)
_, err := s.GetSchema(provider.GetSchemaRequest{Version: 0})
assert.NoError(t, err)
}
type annotator struct{}
@@ -78,5 +81,5 @@ func newServer(client Client) integration.Server {
})
}
return integration.NewServer("docker", semver.Version{Major: 4}, p)
return integration.NewServer("docker-build", semver.Version{Major: 0}, p)
}