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