tests: use alice/bob/claire conventional names for signers

Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
This commit is contained in:
Riyaz Faizullabhoy 2017-09-18 18:05:10 -07:00
parent 4e95fcd72c
commit 46a879e3b9
1 changed files with 4 additions and 4 deletions

View File

@ -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,
}, },
} }