From e0c96838d9f92d54044a4c51143011e68f994906 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Thu, 11 May 2023 09:09:34 +0800 Subject: [PATCH] Update test --- packages/api/test/routers/auth.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/api/test/routers/auth.test.ts b/packages/api/test/routers/auth.test.ts index 38b889f24..79dfc2dcf 100644 --- a/packages/api/test/routers/auth.test.ts +++ b/packages/api/test/routers/auth.test.ts @@ -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' ) }) })