diff --git a/alfa-client/libs/admin-settings/src/lib/postfach/postfach-container/postfach-form/postfach.formservice.spec.ts b/alfa-client/libs/admin-settings/src/lib/postfach/postfach-container/postfach-form/postfach.formservice.spec.ts index b96525238955dad42e54fefd87196c1a5b9b6413..f615c6ce868a39449363184dd6643f96680e3e38 100644 --- a/alfa-client/libs/admin-settings/src/lib/postfach/postfach-container/postfach-form/postfach.formservice.spec.ts +++ b/alfa-client/libs/admin-settings/src/lib/postfach/postfach-container/postfach-form/postfach.formservice.spec.ts @@ -4,7 +4,6 @@ import { mock, Mock, useFromMock } from '@alfa-client/test-utils'; import { PostfachService } from '../../postfach.service'; import { createPostfach, createPostfachResource } from '../../../../../test/postfach/postfach'; import { PostfachResource } from '../../postfach.model'; -import { fakeAsync, tick } from '@angular/core/testing'; import { createStateResource, StateResource } from '@alfa-client/tech-shared'; import { Postfach } from '../../postfach.model'; import { Observable, of } from 'rxjs'; @@ -51,13 +50,6 @@ describe('PostfachFormService', () => { expect(postfachService.save).toHaveBeenCalledWith(postfach); }); - it('should call service get after save', fakeAsync(() => { - formService.submit().subscribe(); - tick(); - - expect(postfachService.get).toHaveBeenCalled(); - })); - describe('with empty or null absender values', () => { const formValueWithAbsender = { [PostfachFormService.ASBSENDER_GROUP]: {