This commit is contained in:
Hongbo Wu
2023-08-17 18:55:29 +08:00
parent cd1fc5c4db
commit 2a019166aa

View File

@ -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)
})
})