diff --git a/packages/nocodb/tests/unit/factory/project.ts b/packages/nocodb/tests/unit/factory/project.ts index 92dbcbfd3e..2321bbae5e 100644 --- a/packages/nocodb/tests/unit/factory/project.ts +++ b/packages/nocodb/tests/unit/factory/project.ts @@ -4,13 +4,13 @@ import Project from '../../../src/lib/models/Project'; const sakilaProjectConfig = (context) => { let base; - if(context.sakilaDbConfig.client === 'mysql2'){ + if (context.sakilaDbConfig.client === 'mysql2') { base = { type: context.sakilaDbConfig.client, config: { client: context.sakilaDbConfig.client, - connection: context.sakilaDbConfig.connection - } + connection: context.sakilaDbConfig.connection, + }, }; } else { base = { @@ -26,7 +26,7 @@ const sakilaProjectConfig = (context) => { } base = { - ...base, + ...base, inflection_column: 'camelize', inflection_table: 'camelize', }; @@ -35,7 +35,7 @@ const sakilaProjectConfig = (context) => { title: 'sakila', bases: [base], external: true, - } + }; }; const defaultProjectValue = { @@ -44,7 +44,7 @@ const defaultProjectValue = { const defaultSharedBaseValue = { roles: 'viewer', - password: 'test', + password: 'password123', }; const createSharedBase = async (app, token, project, sharedBaseArgs = {}) => {