refactor: rename test class

This commit is contained in:
Oliver Davies 2022-01-13 20:29:32 +00:00
parent 7502a4c50e
commit f192dd720c

View file

@ -0,0 +1,20 @@
<?php
namespace App\Tests;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Tightenco\Collect\Support\Collection;
final class FakeEventRepositoryTest extends KernelTestCase
{
/** @test */
public function should_only_return_attendees_with_a_yes_rsvp(): void {
$attendees = Collection::make([
['name' => 'matthew s.'],
['name' => 'Michael P.'],
['name' => 'Kathryn "Kat" R.'],
]);
$this->assertCount(3, $attendees->pluck('name'));
}
}