Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
fix: use a different remote server for test
Browse files Browse the repository at this point in the history
The previous server had issues, so the test timed out. Hopefully
this on is more stable.
  • Loading branch information
vmx authored and daviddias committed Mar 14, 2018
1 parent 385a6c3 commit 1fc15a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/util.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ describe('.util', () => {
})

it('.urlAdd http with redirection', (done) => {
ipfs.util.addFromURL('http://covers.openlibrary.org/book/id/969165.jpg', (err, result) => {
ipfs.util.addFromURL('https://coverartarchive.org/release/6e2a1694-d8b9-466a-aa33-b1077b2333c1', (err, result) => {
expect(err).to.not.exist()
expect(result[0].hash).to.equal('QmaL9zy7YUfvWmtD5ZXp42buP7P4xmZJWFkm78p8FJqgjg')
expect(result[0].hash).to.equal('QmSUdDvmXuq5YGrL4M3SEz7UZh5eT9WMuAsd9K34sambSj')
done()
})
})
Expand Down

0 comments on commit 1fc15a5

Please sign in to comment.