refactor(meetup): specify the event ID
This commit is contained in:
parent
bb14c14b32
commit
24151c26ec
6 changed files with 12 additions and 6 deletions
|
@ -12,7 +12,7 @@ trait EventRepositoryContractTest
|
|||
/** @test */
|
||||
public function should_only_return_attendees_with_a_yes_rsvp(): void
|
||||
{
|
||||
$attendees = $this->repository->findAttendeesForEvent();
|
||||
$attendees = $this->repository->findAttendeesForEvent(self::$eventId);
|
||||
|
||||
$this->assertOnlyAttendingAttendeesAreReturned($attendees);
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ trait EventRepositoryContractTest
|
|||
/** @test */
|
||||
public function should_not_return_event_organisers(): void
|
||||
{
|
||||
$attendees = $this->repository->findAttendeesForEvent();
|
||||
$attendees = $this->repository->findAttendeesForEvent(static::$eventId);
|
||||
|
||||
$this->assertEventHostsAreNotReturned($attendees);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue