refactor: rename method

This commit is contained in:
Oliver Davies 2022-01-14 00:14:08 +00:00
parent 767c6f2ced
commit 8fe80b8992
4 changed files with 5 additions and 5 deletions

View file

@ -11,7 +11,7 @@ trait EventRepositoryContractTest
/** @test */
public function should_only_return_attendees_with_a_yes_rsvp(): void
{
$attendees = $this->repository->getConfirmedAttendees();
$attendees = $this->repository->findAttendeesForEvent();
$this->assertFalse($attendees->pluck('is_attending')->contains(false));
}
@ -19,7 +19,7 @@ trait EventRepositoryContractTest
/** @test */
public function should_not_return_event_organisers(): void
{
$attendees = $this->repository->getConfirmedAttendees();
$attendees = $this->repository->findAttendeesForEvent();
$this->assertSame([false], $attendees->pluck('is_host')->unique()->toArray());
}