From a775885508ff2353f9104617dce098dabeff17f1 Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Mon, 29 Sep 2025 14:59:02 +0700 Subject: [PATCH] fix(test): typo case ::Factory --- tests/Feature/Livewire/Studio/Loyalty/MembershipTest.php | 2 +- tests/Feature/Livewire/Studio/Master/Outlet/IndexTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()),