mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 12:11:08 -04:00
v5.0.0 update
This commit is contained in:
@ -24,7 +24,7 @@ class UnitFactory extends Factory
|
||||
{
|
||||
return [
|
||||
'name' => $this->faker->name,
|
||||
'company_id' => User::where('role', 'super admin')->first()->company_id,
|
||||
'company_id' => User::find(1)->companies()->first()->id,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user