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:
parent
93eac3f7a4
commit
912364293c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue