chore(outlet): komen has Outlets factory user di test
This commit is contained in:
parent
129d4184df
commit
6a098f4a42
@ -25,7 +25,7 @@
|
|||||||
$this->user = User::factory()
|
$this->user = User::factory()
|
||||||
->active()
|
->active()
|
||||||
->has(Employee::factory())
|
->has(Employee::factory())
|
||||||
->has(Outlet::factory()->count(5))
|
// ->has(Outlet::factory()->count(5))
|
||||||
->create();
|
->create();
|
||||||
|
|
||||||
$this->user->roles()->attach($roles->pluck('id'));
|
$this->user->roles()->attach($roles->pluck('id'));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user