1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-05 07:26:55 +00:00

fix: cosign ctlog unit tests (#9970)

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
This commit is contained in:
Vishal Choudhary 2024-03-29 22:19:11 +05:30 committed by GitHub
parent 93eac3f7a4
commit 912364293c
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)