Browse Source

test: update sqlite read nested

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5735/head
Raju Udava 1 year ago
parent
commit
9847bd6f9e
  1. 12
      packages/nocodb/tests/unit/rest/tests/tableRow.test.ts

12
packages/nocodb/tests/unit/rest/tests/tableRow.test.ts

@ -1299,10 +1299,14 @@ function tableTest() {
'ReleaseYear',
'Language',
);
expect(record['Film List'][0]['Language']).to.have.all.keys(
'Name',
'LanguageId',
);
// for SQLite Sakila, Language is null
if (isPg(context)) {
expect(record['Film List'][0]['Language']).to.have.all.keys(
'Name',
'LanguageId',
);
}
});
it('Update table row', async function () {

Loading…
Cancel
Save