test: add the first assertion
This commit is contained in:
parent
2962800349
commit
6883f63d95
1 changed files with 8 additions and 2 deletions
|
@ -7,7 +7,13 @@ use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||||
final class EventRepositoryTest extends KernelTestCase
|
final class EventRepositoryTest extends KernelTestCase
|
||||||
{
|
{
|
||||||
/** @test */
|
/** @test */
|
||||||
public function should_only_return_attendees_with_a_yes_rsvp(): array {
|
public function should_only_return_attendees_with_a_yes_rsvp(): void {
|
||||||
return [];
|
$attendees = [
|
||||||
|
['name' => 'Matthew Setter'],
|
||||||
|
['name' => 'Matthew Setter'],
|
||||||
|
['name' => 'Matthew Setter'],
|
||||||
|
];
|
||||||
|
|
||||||
|
$this->assertCount(3, $attendees);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue