From 39399201029341c3d240c6be9c13da4bf8cb41c2 Mon Sep 17 00:00:00 2001 From: Philipp Lang Date: Mon, 30 Jan 2023 17:14:51 +0100 Subject: [PATCH] --wip-- [skip ci] --- src/Fakes/MemberFake.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Fakes/MemberFake.php b/src/Fakes/MemberFake.php index 43ea4bc..a583244 100644 --- a/src/Fakes/MemberFake.php +++ b/src/Fakes/MemberFake.php @@ -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) { $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', 'geburtsDatum' => '1991-06-20 00:00:00', 'gruppierungId' => $groupId, + 'gruppierung' => 'gei0OhSh0quahcoh', 'geschlechtId' => 19, 'staatsangehoerigkeitId' => 1054, ], $data));