Browse Source

test: update api test

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/914/head
Pranav C 3 years ago
parent
commit
e548513040
  1. 2
      packages/nocodb/src/__tests__/graphql.test.ts
  2. 2
      packages/nocodb/src/__tests__/rest.test.ts

2
packages/nocodb/src/__tests__/graphql.test.ts

@ -330,7 +330,7 @@ describe('{Auth, CRUD, HasMany, Belongs} Tests', () => {
request(app)
.post('/auth/password/forgot')
.send({ email: 'abc@abc.com' })
.expect(400, done);
.expect(200, done);
});
it('Forgot password with an existing email id', function(done) {

2
packages/nocodb/src/__tests__/rest.test.ts

@ -194,7 +194,7 @@ describe('{Auth, CRUD, HasMany, Belongs} Tests', () => {
request(app)
.post('/auth/password/forgot')
.send({ email: 'abc@abc.com' })
.expect(400, done);
.expect(200, done);
});
it('Forgot password with an existing email id', function(done) {

Loading…
Cancel
Save