fix(test): typo case ::Factory

This commit is contained in:
Yoga Pangestu 2025-09-29 14:59:02 +07:00
parent c60bb2b09d
commit a775885508
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
});
it('displays all memberships', function () {
MembershipModel::Factory()->count(10)->create();
MembershipModel::factory()->count(10)->create();
$membership = MembershipModel::first();

View File

@ -15,7 +15,7 @@
});
it('displays all outlets', function () {
Outlet::Factory()
Outlet::factory()
->count(10)
->state(fn () => [
'status' => fake()->randomElement(OutletStatus::cases()),