From 8ebd4dfa67fe78503034f56c4f3dc95c69167a43 Mon Sep 17 00:00:00 2001
From: "Zickermann, Jan" <jan.zickermann@dataport.de>
Date: Tue, 2 Apr 2024 12:10:28 +0200
Subject: [PATCH] OZG-4993 Remove bad test

---
 .../postfach-form/postfach.formservice.spec.ts            | 8 --------
 1 file changed, 8 deletions(-)

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 b965252389..f615c6ce86 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]: {
-- 
GitLab