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