mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix test
This commit is contained in:
parent
cd1fc5c4db
commit
2a019166aa
1 changed files with 4 additions and 4 deletions
|
|
@ -58,8 +58,8 @@ describe('Integrations routers', () => {
|
|||
token = 'invalid-token'
|
||||
})
|
||||
|
||||
it('returns 400', async () => {
|
||||
return request.post(endpoint(token)).send(data).expect(400)
|
||||
it('returns 200', async () => {
|
||||
return request.post(endpoint(token)).send(data).expect(200)
|
||||
})
|
||||
})
|
||||
|
||||
|
|
@ -98,8 +98,8 @@ describe('Integrations routers', () => {
|
|||
}
|
||||
})
|
||||
|
||||
it('returns 400', async () => {
|
||||
return request.post(endpoint(token)).send(data).expect(400)
|
||||
it('returns 200', async () => {
|
||||
return request.post(endpoint(token)).send(data).expect(200)
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue