fix(test): typo case ::Factory
This commit is contained in:
parent
c60bb2b09d
commit
a775885508
@ -14,7 +14,7 @@
|
||||
});
|
||||
|
||||
it('displays all memberships', function () {
|
||||
MembershipModel::Factory()->count(10)->create();
|
||||
MembershipModel::factory()->count(10)->create();
|
||||
|
||||
$membership = MembershipModel::first();
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
});
|
||||
|
||||
it('displays all outlets', function () {
|
||||
Outlet::Factory()
|
||||
Outlet::factory()
|
||||
->count(10)
|
||||
->state(fn () => [
|
||||
'status' => fake()->randomElement(OutletStatus::cases()),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user