Browse Source

test: skip value population for Created and LastModified

pull/7304/head
Pranav C 10 months ago
parent
commit
f24960abb1
  1. 5
      packages/nocodb/tests/unit/factory/row.ts

5
packages/nocodb/tests/unit/factory/row.ts

@ -1,4 +1,4 @@
import { UITypes } from 'nocodb-sdk';
import { isCreatedTimeOrUpdatedTimeCol, UITypes } from 'nocodb-sdk'
import request from 'supertest';
import Model from '../../../src/models/Model';
import NcConnectionMgrv2 from '../../../src/utils/common/NcConnectionMgrv2';
@ -257,7 +257,8 @@ const generateDefaultRowAttributes = ({
if (
column.uidt === UITypes.LinkToAnotherRecord ||
column.uidt === UITypes.ForeignKey ||
column.uidt === UITypes.ID
column.uidt === UITypes.ID ||
isCreatedTimeOrUpdatedTimeCol(column)
) {
return acc;
}

Loading…
Cancel
Save