From 2cdc1404b806bd8e029025e9d604a2acdd883f5c Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 13 Jan 2022 21:23:31 +0000 Subject: [PATCH] test: add whether the attendee is a host --- tests/FakeEventRepository.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/FakeEventRepository.php b/tests/FakeEventRepository.php index 956a0ff..6a1740a 100644 --- a/tests/FakeEventRepository.php +++ b/tests/FakeEventRepository.php @@ -11,10 +11,10 @@ use Tightenco\Collect\Support\Collection; final class FakeEventRepository implements EventRepository { private static array $rsvps = [ - ['name' => 'matthew s.', 'response' => RsvpResponse::RESPONSE_YES], - ['name' => 'Michael P.', 'response' => RsvpResponse::RESPONSE_YES], - ['name' => 'Kathryn "Kat" R.', 'response' => RsvpResponse::RESPONSE_YES], - ['name' => 'Did not attend', 'response' => RsvpResponse::RESPONSE_NO], + ['name' => 'matthew s.', 'response' => RsvpResponse::RESPONSE_YES, 'member' => ['event_context' => ['host' => false]]], + ['name' => 'Michael P.', 'response' => RsvpResponse::RESPONSE_YES, 'member' => ['event_context' => ['host' => false]]], + ['name' => 'Kathryn "Kat" R.', 'response' => RsvpResponse::RESPONSE_YES, 'member' => ['event_context' => ['host' => false]]], + ['name' => 'Did not attend', 'response' => RsvpResponse::RESPONSE_NO, 'member' => ['event_context' => ['host' => false]]], ]; public function getConfirmedAttendees(): Collection {