diff --git a/packages/nocodb/tests/unit/rest/tests/table.test.ts b/packages/nocodb/tests/unit/rest/tests/table.test.ts index a9cfee807d..a31d346009 100644 --- a/packages/nocodb/tests/unit/rest/tests/table.test.ts +++ b/packages/nocodb/tests/unit/rest/tests/table.test.ts @@ -48,13 +48,13 @@ function tableStaticTests() { expect(response.body.list).to.be.an('array').not.empty; }); - it('Create table with no table name', async function () { + it('Create table with no table title', async function () { const response = await request(context.app) .post(`/api/v1/db/meta/projects/${base.id}/tables`) .set('xc-auth', context.token) .send({ - table_name: undefined, - title: 'new_title', + table_name: 'new_table_name', + title: undefined, columns: defaultColumns(context), }) .expect(400);