diff --git a/packages/spacecat-shared-data-access/test/unit/models/base.test.js b/packages/spacecat-shared-data-access/test/unit/models/base.test.js index 5e3ca0f4..b279ab7e 100644 --- a/packages/spacecat-shared-data-access/test/unit/models/base.test.js +++ b/packages/spacecat-shared-data-access/test/unit/models/base.test.js @@ -41,7 +41,7 @@ describe('Base Model Tests', () => { it('correctly returns the updatedAt date if provided', () => { const updatedAt = new Date().toISOString(); - const baseEntity = Base({ updatedAt }); + const baseEntity = Base({ id: 'test-id', updatedAt }); expect(baseEntity.getUpdatedAt()).to.equal(updatedAt); }); });