refactor: update attendee names

This commit is contained in:
Oliver Davies 2022-01-13 20:28:17 +00:00
parent 133cc8c822
commit 7502a4c50e

View file

@ -10,9 +10,9 @@ final class EventRepositoryTest extends KernelTestCase
/** @test */ /** @test */
public function should_only_return_attendees_with_a_yes_rsvp(): void { public function should_only_return_attendees_with_a_yes_rsvp(): void {
$attendees = Collection::make([ $attendees = Collection::make([
['name' => 'Matthew Setter'], ['name' => 'matthew s.'],
['name' => 'Matthew Setter'], ['name' => 'Michael P.'],
['name' => 'Matthew Setter'], ['name' => 'Kathryn "Kat" R.'],
]); ]);
$this->assertCount(3, $attendees->pluck('name')); $this->assertCount(3, $attendees->pluck('name'));