Skip to content

Commit

Permalink
Fix last failing mutable test, all pass now
Browse files Browse the repository at this point in the history
  • Loading branch information
makew0rld committed May 13, 2022
1 parent d31cd84 commit 2c4f444
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions mutable-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
})
Expand All @@ -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')
Expand Down

0 comments on commit 2c4f444

Please sign in to comment.