mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix tests
This commit is contained in:
parent
22850bb6ab
commit
75c0745d7e
1 changed files with 2 additions and 2 deletions
|
|
@ -90,12 +90,12 @@ describe('auth router', () => {
|
|||
await deleteUser(user.id)
|
||||
})
|
||||
|
||||
it('redirects to sign up page with error code USER_EXISTS', async () => {
|
||||
it('redirects to sign up page with error code UNKNOWN', async () => {
|
||||
const res = await signupRequest(email, password, name, username).expect(
|
||||
302
|
||||
)
|
||||
expect(res.header.location).to.endWith(
|
||||
'/email-signup?errorCodes=USER_EXISTS'
|
||||
'/email-signup?errorCodes=UNKNOWN'
|
||||
)
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue