Browse Source

test: update in test

pull/9660/head
Pranav C 2 months ago
parent
commit
a22e4c579f
  1. 6
      packages/nocodb/tests/unit/rest/tests/table.test.ts

6
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);

Loading…
Cancel
Save