--wip-- [skip ci]

This commit is contained in:
Philipp Lang 2023-01-30 17:14:51 +01:00
parent 90d8dd61bc
commit 3939920102
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,7 @@ class MemberFake extends Fake
}); });
} }
public function shows(int $groupId, int $memberId, array $data): self public function shows(int $groupId, int $memberId, array $data = []): self
{ {
Http::fake(function ($request) use ($groupId, $memberId, $data) { Http::fake(function ($request) use ($groupId, $memberId, $data) {
$url = 'https://nami.dpsg.de/ica/rest/nami/mitglied/filtered-for-navigation/gruppierung/gruppierung/'.$groupId.'/'.$memberId; $url = 'https://nami.dpsg.de/ica/rest/nami/mitglied/filtered-for-navigation/gruppierung/gruppierung/'.$groupId.'/'.$memberId;
@ -34,6 +34,7 @@ class MemberFake extends Fake
'eintrittsdatum' => '2005-05-01 00:00:00', 'eintrittsdatum' => '2005-05-01 00:00:00',
'geburtsDatum' => '1991-06-20 00:00:00', 'geburtsDatum' => '1991-06-20 00:00:00',
'gruppierungId' => $groupId, 'gruppierungId' => $groupId,
'gruppierung' => 'gei0OhSh0quahcoh',
'geschlechtId' => 19, 'geschlechtId' => 19,
'staatsangehoerigkeitId' => 1054, 'staatsangehoerigkeitId' => 1054,
], $data)); ], $data));