diff --git a/tests/Feature/Livewire/Studio/Loyalty/MembershipTest.php b/tests/Feature/Livewire/Studio/Loyalty/MembershipTest.php index feed229..bfc46bf 100644 --- a/tests/Feature/Livewire/Studio/Loyalty/MembershipTest.php +++ b/tests/Feature/Livewire/Studio/Loyalty/MembershipTest.php @@ -14,7 +14,7 @@ }); it('displays all memberships', function () { - MembershipModel::Factory()->count(10)->create(); + MembershipModel::factory()->count(10)->create(); $membership = MembershipModel::first(); diff --git a/tests/Feature/Livewire/Studio/Master/Outlet/IndexTest.php b/tests/Feature/Livewire/Studio/Master/Outlet/IndexTest.php index ffc5af2..a69922c 100644 --- a/tests/Feature/Livewire/Studio/Master/Outlet/IndexTest.php +++ b/tests/Feature/Livewire/Studio/Master/Outlet/IndexTest.php @@ -15,7 +15,7 @@ }); it('displays all outlets', function () { - Outlet::Factory() + Outlet::factory() ->count(10) ->state(fn () => [ 'status' => fake()->randomElement(OutletStatus::cases()),