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
f7053622a5
commit
86b950183c
1 changed files with 3 additions and 3 deletions
|
|
@ -94,7 +94,7 @@ describe('auth router', () => {
|
|||
username
|
||||
).expect(302)
|
||||
expect(res.header.location).to.endWith(
|
||||
'/email-registration?errorCodes=INVALID_EMAIL'
|
||||
'/email-signup?errorCodes=INVALID_EMAIL'
|
||||
)
|
||||
})
|
||||
})
|
||||
|
|
@ -117,7 +117,7 @@ describe('auth router', () => {
|
|||
302
|
||||
)
|
||||
expect(res.header.location).to.endWith(
|
||||
'/email-registration?errorCodes=USER_EXISTS'
|
||||
'/email-signup?errorCodes=USER_EXISTS'
|
||||
)
|
||||
})
|
||||
})
|
||||
|
|
@ -134,7 +134,7 @@ describe('auth router', () => {
|
|||
302
|
||||
)
|
||||
expect(res.header.location).to.endWith(
|
||||
'/email-registration?errorCodes=INVALID_USERNAME'
|
||||
'/email-signup?errorCodes=INVALID_USERNAME'
|
||||
)
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue