test: add event organiser test
This commit is contained in:
parent
39a65c725c
commit
121eab93aa
|
@ -19,7 +19,14 @@ final class FakeEventRepositoryTest extends KernelTestCase
|
|||
/** @test */
|
||||
public function should_only_return_attendees_with_a_yes_rsvp(): void
|
||||
{
|
||||
$attendees = $this->repository->getConfirmedAttendees();
|
||||
|
||||
$this->assertCount(3, $attendees);
|
||||
}
|
||||
|
||||
/** @test */
|
||||
public function should_not_return_event_organisers(): void
|
||||
{
|
||||
$attendees = $this->repository->getConfirmedAttendees();
|
||||
|
||||
$this->assertCount(3, $attendees);
|
||||
|
|
Loading…
Reference in a new issue