mirror of https://github.com/docker/cli.git
tests: use alice/bob/claire conventional names for signers
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
This commit is contained in:
parent
4e95fcd72c
commit
46a879e3b9
|
@ -54,10 +54,10 @@ func TestTrustTag(t *testing.T) {
|
||||||
trustTagContext{
|
trustTagContext{
|
||||||
s: SignedTagInfo{Name: trustedTag,
|
s: SignedTagInfo{Name: trustedTag,
|
||||||
Digest: digest,
|
Digest: digest,
|
||||||
Signers: []string{"ashwini", "kyle", "riyaz"},
|
Signers: []string{"alice", "bob", "claire"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"ashwini, kyle, riyaz",
|
"alice, bob, claire",
|
||||||
ctx.Signers,
|
ctx.Signers,
|
||||||
},
|
},
|
||||||
// alphabetic signing on Signers
|
// alphabetic signing on Signers
|
||||||
|
@ -65,10 +65,10 @@ func TestTrustTag(t *testing.T) {
|
||||||
trustTagContext{
|
trustTagContext{
|
||||||
s: SignedTagInfo{Name: trustedTag,
|
s: SignedTagInfo{Name: trustedTag,
|
||||||
Digest: digest,
|
Digest: digest,
|
||||||
Signers: []string{"riyaz", "kyle", "ashwini"},
|
Signers: []string{"claire", "bob", "alice"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"ashwini, kyle, riyaz",
|
"alice, bob, claire",
|
||||||
ctx.Signers,
|
ctx.Signers,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue