Skip to content

Commit

Permalink
SPSH-1080: Fixed the body/payload for the endpoint that creates perso…
Browse files Browse the repository at this point in the history
…nenkontexte. (#59)
  • Loading branch information
phaelcg committed Sep 16, 2024
1 parent 77bd61b commit a3e8618
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions base/api/testHelperPerson.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ export async function createPerson(page: Page, familienname: string, vorname: st
data: {
"familienname": familienname,
"vorname": vorname,
"organisationId": organisationId,
"rolleId": rolleId
"createPersonenkontexte": [
{
"organisationId": organisationId,
"rolleId": rolleId
}
]
}
});
expect(response.status()).toBe(201);
Expand Down

0 comments on commit a3e8618

Please sign in to comment.