1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-17 17:56:33 +00:00

fix: cosign ctlog unit tests () ()

This commit is contained in:
Vishal Choudhary 2024-05-09 13:49:36 +05:30 committed by GitHub
parent 8badacff0e
commit dd5a495961
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -214,7 +214,7 @@ func TestCTLogsPubkeys(t *testing.T) {
verifier := &cosignVerifier{}
_, err = verifier.VerifySignature(context.TODO(), opts)
assert.ErrorContains(t, err, "no matching signatures: ctfe public key not found for payload.")
assert.ErrorContains(t, err, "ctfe public key not found for payload.")
opts.CTLogsPubKey = ""
_, err = verifier.VerifySignature(context.TODO(), opts)