Browse Source

test: add context in unit test

pull/8367/head
Pranav C 4 months ago
parent
commit
d1e43f61b5
  1. 4
      packages/nocodb/tests/unit/rest/tests/column.test.ts

4
packages/nocodb/tests/unit/rest/tests/column.test.ts

@ -52,8 +52,8 @@ function columnTests() {
],
});
const pkColumn = (await country.getColumns()).find((column) => column.pk);
const fkColumn = (await city.getColumns()).find(
const pkColumn = (await country.getColumns(context)).find((column) => column.pk);
const fkColumn = (await city.getColumns(context)).find(
(column) => column.title === 'CountryId',
);

Loading…
Cancel
Save