From 6e14724d439d98ee71e1076854d9415cca90f02e Mon Sep 17 00:00:00 2001 From: Hirokuni-Kitahara1 Date: Mon, 5 Sep 2022 20:27:26 +0900 Subject: [PATCH] fix e2e test for verify-blob update Signed-off-by: Hirokuni-Kitahara1 --- test/e2e_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/e2e_test.go b/test/e2e_test.go index fd99e06b3af..be1bbd8d2cd 100644 --- a/test/e2e_test.go +++ b/test/e2e_test.go @@ -115,7 +115,6 @@ var verifyBlob = func(keyRef, sigRef, blobRef, bundlePath string) error { SignatureRef: sigRef, BundlePath: bundlePath, RekorURL: rekorURL, - Attachment: attachment, HashAlgorithm: crypto.SHA256, } @@ -633,8 +632,6 @@ func TestSignBlob(t *testing.T) { _, privKeyPath1, pubKeyPath1 := keypair(t, td1) _, _, pubKeyPath2 := keypair(t, td2) - ctx := context.Background() - // Verify should fail on a bad input mustErr(verifyBlob(pubKeyPath1, "badsig", blob, ""), t) mustErr(verifyBlob(pubKeyPath2, "badsig", blob, ""), t) @@ -668,8 +665,6 @@ func TestSignBlobBundle(t *testing.T) { _, privKeyPath1, pubKeyPath1 := keypair(t, td1) - ctx := context.Background() - // Verify should fail on a bad input mustErr(verifyBlob(pubKeyPath1, "", blob, bundlePath), t)