From f75da94f3bed6c0b637044e88098ec354cf302b0 Mon Sep 17 00:00:00 2001 From: Brian DeHamer Date: Tue, 15 Oct 2024 12:01:25 -0700 Subject: [PATCH] fix: update libnpmpublish tests for sigstore 3.0.0 Signed-off-by: Brian DeHamer --- workspaces/libnpmpublish/test/publish.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workspaces/libnpmpublish/test/publish.js b/workspaces/libnpmpublish/test/publish.js index a3355df7417a9..b5bb79f6b9cc7 100644 --- a/workspaces/libnpmpublish/test/publish.js +++ b/workspaces/libnpmpublish/test/publish.js @@ -486,7 +486,7 @@ t.test('publish existing package with provenance in gha', async t => { // Can't match length because in github actions certain environment // variables are present that are not present when running locally, // changing the payload size. - content_type: 'application/vnd.dev.sigstore.bundle+json;version=0.2', + content_type: 'application/vnd.dev.sigstore.bundle.v0.3+json', }, }, } @@ -1038,7 +1038,7 @@ t.test('publish existing package with provenance in gitlab', async t => { // Can't match length because in github actions certain environment // variables are present that are not present when running locally, // changing the payload size. - content_type: 'application/vnd.dev.sigstore.bundle+json;version=0.2', + content_type: 'application/vnd.dev.sigstore.bundle.v0.3+json', }, }, }