From 185f94a7b7322a0cb2c04fe56a1a27063ed0817b Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Fri, 3 Mar 2023 12:03:08 +0800 Subject: [PATCH] fix(tests): change password to fulfil min length of 8 --- packages/nocodb/tests/unit/rest/tests/project.test.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/nocodb/tests/unit/rest/tests/project.test.ts b/packages/nocodb/tests/unit/rest/tests/project.test.ts index b2d955565b..0f5b58d15b 100644 --- a/packages/nocodb/tests/unit/rest/tests/project.test.ts +++ b/packages/nocodb/tests/unit/rest/tests/project.test.ts @@ -159,7 +159,7 @@ function projectTest() { .set('xc-auth', context.token) .send({ roles: 'viewer', - password: 'test', + password: 'password123', }) .expect(200); @@ -168,7 +168,7 @@ function projectTest() { if ( !updatedProject.uuid || updatedProject.roles !== 'viewer' || - updatedProject.password !== 'test' + updatedProject.password !== 'password123' ) { return new Error('Shared base not configured properly'); } @@ -180,7 +180,7 @@ function projectTest() { .set('xc-auth', context.token) .send({ roles: 'commenter', - password: 'test', + password: 'password123', }) .expect(200); @@ -199,7 +199,7 @@ function projectTest() { .set('xc-auth', context.token) .send({ roles: 'commenter', - password: 'test', + password: 'password123', }) .expect(200); @@ -218,7 +218,7 @@ function projectTest() { .set('xc-auth', context.token) .send({ roles: 'editor', - password: 'test', + password: 'password123', }) .expect(200); const updatedProject = await Project.getByTitleOrId(project.id);