mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 14:26:23 -04:00
api: add functions to transparently handle signatures upon API interaction (#2142)
This commit is contained in:
parent
002c3a9a32
commit
dac690656e
45 changed files with 707 additions and 472 deletions
|
@ -344,10 +344,10 @@ func TestListStructuredVersions(t *testing.T) {
|
|||
|
||||
verStrs := make([]string, len(versions))
|
||||
for i, v := range versions {
|
||||
assert.Equal(list.Ref, v.Ref)
|
||||
assert.Equal(list.Stream, v.Stream)
|
||||
assert.Equal(list.Kind, v.Kind)
|
||||
verStrs[i] = v.Version
|
||||
assert.Equal(list.Ref, v.Ref())
|
||||
assert.Equal(list.Stream, v.Stream())
|
||||
assert.Equal(list.Kind, v.Kind())
|
||||
verStrs[i] = v.version
|
||||
}
|
||||
|
||||
assert.ElementsMatch(list.Versions, verStrs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue