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 cfb2255c3421601f80360e5140f8ceb00d7c1bf1..d8c740a91f8509dcf6be09155f277fdf13b8d457 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();