mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Expect a 400 error for failed GQL directives
This commit is contained in:
parent
bf305bef39
commit
e327b7c57f
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ describe('Sanitize Directive', () => {
|
|||
})
|
||||
|
||||
it('responds status code 500 when invalid input', async () => {
|
||||
return graphqlRequest(query, authToken).expect(500)
|
||||
return graphqlRequest(query, authToken).expect(400)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue