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 776bb1dc2d10e26c89001cc32178c7ac09d77653..8145697c974f674f69218c846247570b0bb77b47 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(); });