diff --git a/packages/nocodb-nest/tests/unit/rest/tests/auth.test.ts b/packages/nocodb-nest/tests/unit/rest/tests/auth.test.ts index c2efcb1092..eb0deae67e 100644 --- a/packages/nocodb-nest/tests/unit/rest/tests/auth.test.ts +++ b/packages/nocodb-nest/tests/unit/rest/tests/auth.test.ts @@ -68,19 +68,19 @@ function authTests() { expect(token).to.be.a('string'); }); - it('Signin without email and password', async () => { + it('Signup without email and password', async () => { await request(context.app) .post('/api/v1/auth/user/signin') // pass empty data in await request .send({}) - .expect(401) + .expect(400); }); it('Signin with invalid credentials', async () => { await request(context.app) .post('/api/v1/auth/user/signin') .send({ email: 'abc@abc.com', password: defaultUserArgs.password }) - .expect(400) + .expect(400); }); it('Signin with invalid password', async () => {