Update array keys to set asset location properly

This commit is contained in:
Marcus Moore 2023-03-06 16:33:40 -08:00
parent 3a1cf26e98
commit ef27c35d1d
No known key found for this signature in database

View file

@ -55,7 +55,7 @@ class ActionlogFactory extends Factory
[ [
'assigned_to' => $target->id, 'assigned_to' => $target->id,
'assigned_type' => \App\Models\User::class, 'assigned_type' => \App\Models\User::class,
'assigned_to' => $target->location_id, 'location_id' => $target->location_id,
] ]
); );
@ -84,7 +84,7 @@ class ActionlogFactory extends Factory
[ [
'assigned_to' => $target->id, 'assigned_to' => $target->id,
'assigned_type' => \App\Models\Location::class, 'assigned_type' => \App\Models\Location::class,
'assigned_to' => $target->id, 'location_id' => $target->id,
] ]
); );