Browse Source

test: update sqlite read nested

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5735/head
Raju Udava 2 years 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', 'ReleaseYear',
'Language', 'Language',
); );
expect(record['Film List'][0]['Language']).to.have.all.keys(
'Name', // for SQLite Sakila, Language is null
'LanguageId', if (isPg(context)) {
); expect(record['Film List'][0]['Language']).to.have.all.keys(
'Name',
'LanguageId',
);
}
}); });
it('Update table row', async function () { it('Update table row', async function () {

Loading…
Cancel
Save