From 2c4f44408d44faedef1929e246fb731e47ec1d9e Mon Sep 17 00:00:00 2001 From: makeworld Date: Fri, 13 May 2022 16:37:51 -0400 Subject: [PATCH] Fix last failing mutable test, all pass now --- mutable-tests.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mutable-tests.js b/mutable-tests.js index e1032fb..b528156 100644 --- a/mutable-tests.js +++ b/mutable-tests.js @@ -182,9 +182,7 @@ promise_test(async (t) => { const url = await firstFileResponse.headers.get("Location") - const base = new URL('./', url).href - - const key = `POST-IPFS-TO-IPNS` + const key = `compliance-suite-${Date.now()}` const createKey = await fetch(`ipns://localhost?key=${key}`, { method: 'POST', }) @@ -193,7 +191,7 @@ promise_test(async (t) => { const ipnsResponse = await fetch(keyURL, { method: 'POST', - body: base + body: url }) assert_true(ipnsResponse.status == 200, 'Able to POST url to ipns')