refactor: no need to pluck in assertion
This commit is contained in:
parent
9d880841ea
commit
0ac6c0f947
1 changed files with 1 additions and 1 deletions
|
@ -21,6 +21,6 @@ final class FakeEventRepositoryTest extends KernelTestCase
|
|||
|
||||
$attendees = $this->repository->getConfirmedAttendees();
|
||||
|
||||
$this->assertCount(3, $attendees->pluck('name'));
|
||||
$this->assertCount(3, $attendees);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue