diff --git a/goofy-client/apps/goofy-e2e/src/fixtures/vorgang/vorgang.json b/goofy-client/apps/goofy-e2e/src/fixtures/vorgang/vorgang.json index c430e695bf8c81ff77b7beee3e2cda4016d2fe74..2de28060fa02949617eb1cda08335a4ebbb74357 100644 --- a/goofy-client/apps/goofy-e2e/src/fixtures/vorgang/vorgang.json +++ b/goofy-client/apps/goofy-e2e/src/fixtures/vorgang/vorgang.json @@ -14,7 +14,7 @@ "header": { "serviceKonto": { "type": "OSI", - "postfachAddress": [{ + "postfachAddresses": [{ "type": 1, "identifier": { "postfachId": "04d39269-81c5-4838-8b73-08d9567f06d7" diff --git a/goofy-client/apps/goofy-e2e/src/integration/main-tests/postfach-mail/postfach-mail.e2e-spec.ts b/goofy-client/apps/goofy-e2e/src/integration/main-tests/postfach-mail/postfach-mail.e2e-spec.ts index 99844d505e8c803520c4f4fb46509e95a862c1eb..d4404324554afc55bb74bef0df6d6db94509ae7b 100644 --- a/goofy-client/apps/goofy-e2e/src/integration/main-tests/postfach-mail/postfach-mail.e2e-spec.ts +++ b/goofy-client/apps/goofy-e2e/src/integration/main-tests/postfach-mail/postfach-mail.e2e-spec.ts @@ -30,7 +30,7 @@ import { FixedDialogE2EComponent } from '../../../components/ui/fixed-dialog.e2e import { SnackBarE2EComponent } from '../../../components/ui/snackbar.e2e.component'; import { VorgangListE2EComponent } from '../../../components/vorgang/vorgang-list.e2e.component'; import { VorgangSubnavigationE2EComponent } from '../../../components/vorgang/vorgang-subnavigation'; -import { ClientAttributeNameE2E, ClientAttributesE2E, EingangE2E, VorgangE2E } from '../../../model/vorgang'; +import { ClientAttributeNameE2E, ClientAttributesE2E, VorgangE2E } from '../../../model/vorgang'; import { PostfachMailItemE2E, PostfachNachrichtSnackbarMessageE2E, VorgangAttachedItemClientE2E, VorgangAttachedItemE2E } from '../../../model/vorgang-attached-item'; import { MainPage, waitForSpinnerToDisappear } from '../../../page-objects/main.po'; import { PostfachMailPage } from '../../../page-objects/postfach-mail.component.po'; @@ -70,8 +70,7 @@ describe('PostfachMail', () => { const vorgangWithoutPostfach: VorgangE2E = createVorgangWithoutPostfachId(); function createVorgangWithoutPostfachId(): VorgangE2E { - const eingangWithoutPostfachId: EingangE2E = { ...vorgang.eingangs[0], antragsteller: { ...vorgang.eingangs[0].antragsteller, postfachId: '' } }; - return { ...buildVorgang(objectIds[2], 'VorgangWithoutPostfachId'), eingangs: [eingangWithoutPostfachId] }; + return { ...buildVorgang(objectIds[2], 'VorgangWithoutPostfachId'), eingangs: [...vorgang.eingangs], header: { serviceKonto: null} }; } const postfachMailReply: PostfachMailItemE2E = createPostfachNachrichtReplyItem();