From 3b32974c43098f25aaab55030c4150b570910183 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Wed, 16 Nov 2022 00:12:11 +0100 Subject: [PATCH] add stub for showing member --- src/Fakes/MemberFake.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Fakes/MemberFake.php b/src/Fakes/MemberFake.php index 7369f36..43ea4bc 100644 --- a/src/Fakes/MemberFake.php +++ b/src/Fakes/MemberFake.php @@ -24,6 +24,13 @@ class MemberFake extends Fake if ($request->url() === $url && 'GET' === $request->method()) { return $this->dataResponse(array_merge([ 'id' => $memberId, + 'vorname' => '::firstname::', + 'nachname' => '::lastname::', + 'zeitschriftenversand' => true, + 'strasse' => '::address::', + 'plz' => '12345', + 'ort' => 'SG', + 'version' => 1, 'eintrittsdatum' => '2005-05-01 00:00:00', 'geburtsDatum' => '1991-06-20 00:00:00', 'gruppierungId' => $groupId,