From 08640edc833a4a8507c254f099f3576907d967c6 Mon Sep 17 00:00:00 2001 From: "Zickermann, Jan" <jan.zickermann@dataport.de> Date: Wed, 28 Feb 2024 09:00:10 +0100 Subject: [PATCH] OZG-4948 Fix postfach-form test --- .../postfach-form/postfach-form.component.spec.ts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/alfa-client/libs/admin-settings/src/lib/postfach/postfach-container/postfach-form/postfach-form.component.spec.ts b/alfa-client/libs/admin-settings/src/lib/postfach/postfach-container/postfach-form/postfach-form.component.spec.ts index 776bb1dc2d..8145697c97 100644 --- a/alfa-client/libs/admin-settings/src/lib/postfach/postfach-container/postfach-form/postfach-form.component.spec.ts +++ b/alfa-client/libs/admin-settings/src/lib/postfach/postfach-container/postfach-form/postfach-form.component.spec.ts @@ -8,10 +8,8 @@ import { getElementFromFixture, } from '@alfa-client/test-utils'; import { PostfachFormService } from './postfach.formservice'; -import { MockComponent, MockService } from 'ng-mocks'; +import { MockComponent } from 'ng-mocks'; import { TextFieldComponent } from '../../../shared/text-field/text-field.component'; -import { PostfachServiceToken } from '../../../admin-settings-provider'; -import { PostfachService } from '@alfa-client/postfach-shared'; describe('PostfachFormComponent', () => { let component: PostfachFormComponent; @@ -24,12 +22,6 @@ describe('PostfachFormComponent', () => { await TestBed.configureTestingModule({ declarations: [PostfachFormComponent, MockComponent(TextFieldComponent)], imports: [ReactiveFormsModule, FormsModule], - providers: [ - { - provide: PostfachServiceToken, - useValue: MockService(PostfachService), - }, - ], }).compileComponents(); }); -- GitLab