Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

test: update expected

mertmit027c1c7afc59
diff --git a/packages/nocodb/tests/unit/rest/tests/auth.test.ts b/packages/nocodb/tests/unit/rest/tests/auth.test.ts
index 4eb3b152be..1115304581 100644
--- a/packages/nocodb/tests/unit/rest/tests/auth.test.ts
+++ b/packages/nocodb/tests/unit/rest/tests/auth.test.ts
@@ -113,11 +113,11 @@ function authTests() {
expect(email).to.equal(defaultUserArgs.email);
});
- it('Forgot password with a non-existing email id', async () => {
+ it('Forgot password with a non-existing email id returns success', async () => {
await request(context.app)
.post('/api/v1/auth/password/forgot')
.send({ email: '[email protected]' })
- .expect(400);
+ .expect(200);
});
// todo: fix mailer issues