diff --git a/releases_test.go b/releases_test.go index ef627feb9..2d14ba682 100644 --- a/releases_test.go +++ b/releases_test.go @@ -148,7 +148,7 @@ func findReleases(provider string, archived bool) ([]v1alpha1.Release, error) { if err != nil { return nil, microerror.Mask(err) } - if strings.Contains(release.Name, "azure") { + if strings.Contains(release.Name, "azure") || strings.Contains(release.Name, "capa") { parts := strings.Split(release.Name, "-") release.Name = "v" + parts[len(parts)-1] // } @@ -226,9 +226,13 @@ func Test_Releases(t *testing.T) { provider: "azure", name: "case 2: azure releases are valid", }, + { + provider: "capa", + name: "case 3: capa releases are valid", + }, { provider: "kvm", - name: "case 3: kvm releases are valid", + name: "case 4: kvm releases are valid", }, }