cli: image measurements (v2)

This commit is contained in:
Malte Poll 2023-05-25 14:33:57 +02:00 committed by Malte Poll
parent e5b394db87
commit cd7b116794
9 changed files with 38 additions and 23 deletions

View file

@ -561,9 +561,9 @@ func TestVersionArtifactPathURL(t *testing.T) {
t.Run(name, func(t *testing.T) {
assert := assert.New(t)
path := tc.ver.ArtifactPath("v1")
path := tc.ver.ArtifactPath(APIV1)
assert.Equal(tc.wantPath, path)
url := tc.ver.ArtifactsURL("v1")
url := tc.ver.ArtifactsURL(APIV1)
assert.Equal(constants.CDNRepositoryURL+"/"+tc.wantPath, url)
})
}