refactor: rename test class
This commit is contained in:
parent
7502a4c50e
commit
f192dd720c
1 changed files with 1 additions and 1 deletions
20
tests/FakeEventRepositoryTest.php
Normal file
20
tests/FakeEventRepositoryTest.php
Normal 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'));
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue