From dc0c229e12039321839dd9b4d9f38c485226febc Mon Sep 17 00:00:00 2001 From: Daniel Haselhan Date: Tue, 10 Oct 2023 12:33:48 -0700 Subject: [PATCH] Code Review Feedback --- .../additional-information.component.spec.ts | 2 ++ .../public/notification/public-notification.service.spec.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/portal-frontend/src/app/features/public/notice-of-intent/submission/additional-information/additional-information.component.spec.ts b/portal-frontend/src/app/features/public/notice-of-intent/submission/additional-information/additional-information.component.spec.ts index 417628f883..f747f2270f 100644 --- a/portal-frontend/src/app/features/public/notice-of-intent/submission/additional-information/additional-information.component.spec.ts +++ b/portal-frontend/src/app/features/public/notice-of-intent/submission/additional-information/additional-information.component.spec.ts @@ -1,3 +1,4 @@ +import { NO_ERRORS_SCHEMA } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { DeepMocked } from '@golevelup/ts-jest'; import { PublicService } from '../../../../../services/public/public.service'; @@ -18,6 +19,7 @@ describe('AdditionalInformationComponent', () => { useValue: mockPublicService, }, ], + schemas: [NO_ERRORS_SCHEMA], }).compileComponents(); fixture = TestBed.createComponent(AdditionalInformationComponent); diff --git a/services/apps/alcs/src/portal/public/notification/public-notification.service.spec.ts b/services/apps/alcs/src/portal/public/notification/public-notification.service.spec.ts index 2b02b76380..95c226977b 100644 --- a/services/apps/alcs/src/portal/public/notification/public-notification.service.spec.ts +++ b/services/apps/alcs/src/portal/public/notification/public-notification.service.spec.ts @@ -66,7 +66,7 @@ describe('PublicNotificationService', () => { expect(service).toBeDefined(); }); - it('load a Notice of Intent and its related data for get NOI', async () => { + it('load a Notification and its related data for get notification', async () => { mockNOIService.getByFileNumber.mockResolvedValue( new Notification({ type: new NotificationType(),