1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

test fixes

This commit is contained in:
Matthias Kretschmann 2019-09-24 12:47:00 +02:00
parent e3be76fb95
commit 8b31257837
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 3 additions and 2 deletions

View File

@ -67,7 +67,7 @@ describe('Files', () => {
})
it('new IPFS file form can be opened and closed', async () => {
const { container, getByText, findByText } = renderComponent()
const { container, getByText } = renderComponent()
// open
fireEvent.click(getByText('+ Add to IPFS'))

View File

@ -25,7 +25,8 @@ describe('POST /api/v1/urlcheck', () => {
const response = await request(server)
.post('/api/v1/urlcheck')
.send({
url: 'ipfs://QmQfpdcMWnLTXKKW9GPV7NgtEugghgD6HgzSF6gSrp2mL9'
url:
'ipfs://QmX5LRpEVocfks9FNDnRoK2imf2fy9mPpP4wfgaDVXWfYD/video.mp4'
})
expect(response.status).toBe(200)
expect(response.body).toBeTruthy()