This commit is contained in:
Hongbo Wu 2022-07-21 19:22:33 +08:00 committed by Jackson Harper
parent f7053622a5
commit 86b950183c

View file

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