Skip to content

Commit

Permalink
fix: update old test cases
Browse files Browse the repository at this point in the history
Signed-off-by: Junjie Gao <[email protected]>
  • Loading branch information
JeyJeyGao committed Nov 8, 2024
1 parent bfb56a8 commit bcadb27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/e2e/suite/trustpolicy/trust_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ var _ = Describe("notation trust policy trust store test", func() {
It("multiple trust stores", func() {
Host(nil, func(notation *utils.ExecOpts, artifact1 *Artifact, vhost *utils.VirtualHost) {
// artifact1 signed with new_e2e.crt
OldNotation(AuthOption("", ""), AddKeyOption("e2e.key", "new_e2e.crt")).
OldNotation(AuthOption("", ""), AddKeyOption(filepath.Join(NotationE2ELocalKeysDir, "e2e.key"), filepath.Join(NotationE2ELocalKeysDir, "new_e2e.crt"))).
Exec("sign", artifact1.ReferenceWithDigest(), "-v").
MatchKeyWords(SignSuccessfully)

Expand Down
2 changes: 1 addition & 1 deletion test/e2e/suite/trustpolicy/trusted_identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ var _ = Describe("notation trust policy trusted identity test", func() {
It("with multiple trusted identity", func() {
Host(nil, func(notation *utils.ExecOpts, artifact1 *Artifact, vhost *utils.VirtualHost) {
// artifact1 signed with new_e2e.crt
OldNotation(AuthOption("", ""), AddKeyOption("e2e.key", "new_e2e.crt")).
OldNotation(AuthOption("", ""), AddKeyOption(filepath.Join(NotationE2ELocalKeysDir, "e2e.key"), filepath.Join(NotationE2ELocalKeysDir, "new_e2e.crt"))).
Exec("sign", artifact1.ReferenceWithDigest(), "-v").
MatchKeyWords(SignSuccessfully)

Expand Down

0 comments on commit bcadb27

Please sign in to comment.