diff --git a/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.spec.ts b/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.spec.ts index 4fefa85b20..6a96feee92 100644 --- a/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.spec.ts +++ b/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.spec.ts @@ -96,7 +96,6 @@ describe('Gn4MetadataMapper', () => { website: new URL('http://my.org'), }, status: null, - updateFrequency: null, lineage: null, recordUpdated: null, distributions: [], @@ -136,7 +135,6 @@ describe('Gn4MetadataMapper', () => { website: new URL('http://my.org'), }, status: null, - updateFrequency: null, lineage: null, recordUpdated: null, distributions: [], diff --git a/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.ts b/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.ts index 9f782429fe..2870353baf 100644 --- a/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.ts +++ b/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.ts @@ -22,7 +22,6 @@ export class Gn4MetadataMapper extends MetadataBaseMapper { const emptyRecord: Partial = { kind: 'dataset', status: null, - updateFrequency: null, lineage: null, recordUpdated: null, ownerOrganization: null, diff --git a/libs/ui/elements/src/lib/metadata-info/metadata-info.component.spec.ts b/libs/ui/elements/src/lib/metadata-info/metadata-info.component.spec.ts index 540610eadb..a1800f59e0 100644 --- a/libs/ui/elements/src/lib/metadata-info/metadata-info.component.spec.ts +++ b/libs/ui/elements/src/lib/metadata-info/metadata-info.component.spec.ts @@ -93,13 +93,13 @@ describe('MetadataInfoComponent', () => { }) }) describe('updateFrequency', () => { - describe('updateFrequency is null', () => { + describe('updateFrequency is not defined', () => { beforeEach(() => { fixture = TestBed.createComponent(MetadataInfoComponent) component = fixture.componentInstance component.metadata = { ...DATASET_RECORDS[0], - updateFrequency: null, + updateFrequency: undefined, } fixture.detectChanges() })