From 4592c23bbf7c48918acda0e6946d740f481e6ccb Mon Sep 17 00:00:00 2001 From: priyawadhwa Date: Fri, 14 Jan 2022 11:12:29 -0800 Subject: [PATCH] Fix TestSignBlobBundle (#1320) Signed-off-by: Priya Wadhwa --- test/e2e_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e_test.go b/test/e2e_test.go index 68d2cac2d72..74eb0060cf3 100644 --- a/test/e2e_test.go +++ b/test/e2e_test.go @@ -488,7 +488,7 @@ func TestSignBlobBundle(t *testing.T) { BundlePath: bundlePath, } // Verify should fail on a bad input - mustErr(cliverify.VerifyBlobCmd(ctx, ko1, "", "", "", blob), t) + mustErr(cliverify.VerifyBlobCmd(ctx, ko1, "", "", "", "", blob), t) // Now sign the blob with one key ko := sign.KeyOpts{ @@ -501,7 +501,7 @@ func TestSignBlobBundle(t *testing.T) { t.Fatal(err) } // Now verify should work - must(cliverify.VerifyBlobCmd(ctx, ko1, "", "", "", bp), t) + must(cliverify.VerifyBlobCmd(ctx, ko1, "", "", "", "", bp), t) // Now we turn on the tlog and sign again defer setenv(t, options.ExperimentalEnv, "1")() @@ -511,7 +511,7 @@ func TestSignBlobBundle(t *testing.T) { // Point to a fake rekor server to make sure offline verification of the tlog entry works os.Setenv(serverEnv, "notreal") - must(cliverify.VerifyBlobCmd(ctx, ko1, "", "", "", bp), t) + must(cliverify.VerifyBlobCmd(ctx, ko1, "", "", "", "", bp), t) } func TestGenerate(t *testing.T) {