mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-08 23:12:18 -04:00
cli: image measurements (v2)
This commit is contained in:
parent
e5b394db87
commit
cd7b116794
9 changed files with 38 additions and 23 deletions
|
@ -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)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue