refactor: no need to pluck in assertion

This commit is contained in:
Oliver Davies 2022-01-13 21:15:02 +00:00
parent 9d880841ea
commit 0ac6c0f947

View file

@ -21,6 +21,6 @@ final class FakeEventRepositoryTest extends KernelTestCase
$attendees = $this->repository->getConfirmedAttendees();
$this->assertCount(3, $attendees->pluck('name'));
$this->assertCount(3, $attendees);
}
}