meetup-raffle-winner-picker/tests/EventRepositoryTest.php

20 lines
447 B
PHP
Raw Normal View History

2022-01-13 20:13:28 +00:00
<?php
namespace App\Tests;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
final class EventRepositoryTest extends KernelTestCase
{
/** @test */
2022-01-13 20:18:14 +00:00
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);
2022-01-13 20:13:28 +00:00
}
}