From b8ea3c8f978120f380cfa4f22bd6554bbc857e44 Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Sun, 15 Jan 2023 11:48:43 -0800 Subject: [PATCH] fixing frontend tests. --- frontend/src/lib/models/resources/binary-model.spec.ts | 2 +- frontend/src/lib/models/resources/composition-model.spec.ts | 2 +- .../src/lib/models/resources/medication-request-model.spec.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/lib/models/resources/binary-model.spec.ts b/frontend/src/lib/models/resources/binary-model.spec.ts index ed3f7752..afa279bd 100644 --- a/frontend/src/lib/models/resources/binary-model.spec.ts +++ b/frontend/src/lib/models/resources/binary-model.spec.ts @@ -2,6 +2,6 @@ import { BinaryModel } from './binary-model'; describe('BinaryModel', () => { it('should create an instance', () => { - expect(new BinaryModel()).toBeTruthy(); + expect(new BinaryModel({})).toBeTruthy(); }); }); diff --git a/frontend/src/lib/models/resources/composition-model.spec.ts b/frontend/src/lib/models/resources/composition-model.spec.ts index 1c08ce83..98e95f29 100644 --- a/frontend/src/lib/models/resources/composition-model.spec.ts +++ b/frontend/src/lib/models/resources/composition-model.spec.ts @@ -2,6 +2,6 @@ import { CompositionModel } from './composition-model'; describe('CompositionModel', () => { it('should create an instance', () => { - expect(new CompositionModel()).toBeTruthy(); + expect(new CompositionModel({})).toBeTruthy(); }); }); diff --git a/frontend/src/lib/models/resources/medication-request-model.spec.ts b/frontend/src/lib/models/resources/medication-request-model.spec.ts index 91fae927..397e2f10 100644 --- a/frontend/src/lib/models/resources/medication-request-model.spec.ts +++ b/frontend/src/lib/models/resources/medication-request-model.spec.ts @@ -2,6 +2,6 @@ import { MedicationRequestModel } from './medication-request-model'; describe('MedicationRequestModel', () => { it('should create an instance', () => { - expect(new MedicationRequestModel()).toBeTruthy(); + expect(new MedicationRequestModel({})).toBeTruthy(); }); });