From b652cc2820adb80c1feba9a9771f3717fafdc57e Mon Sep 17 00:00:00 2001
From: "Zickermann, Jan" <jan.zickermann@dataport.de>
Date: Tue, 26 Mar 2024 17:14:28 +0100
Subject: [PATCH] OZG-4995 Resolve test failure

---
 .../postfach-form/postfach-form.component.spec.ts               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 cfb2255c34..d8c740a91f 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
@@ -191,7 +191,7 @@ describe('PostfachFormComponent', () => {
 
   describe('submit', () => {
     it('should assign submit in progress', () => {
-      formService.submit = jest.fn().mockReturnValue(singleCold(true));
+      formService.submitWithProgress = jest.fn().mockReturnValue(singleCold(true));
 
       component.submit();
 
-- 
GitLab