test: add the first assertion

This commit is contained in:
Oliver Davies 2022-01-13 20:18:14 +00:00
parent 2962800349
commit 6883f63d95

View file

@ -7,7 +7,13 @@ use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
final class EventRepositoryTest extends KernelTestCase
{
/** @test */
public function should_only_return_attendees_with_a_yes_rsvp(): array {
return [];
public function should_only_return_attendees_with_a_yes_rsvp(): void {
$attendees = [
['name' => 'Matthew Setter'],
['name' => 'Matthew Setter'],
['name' => 'Matthew Setter'],
];
$this->assertCount(3, $attendees);
}
}