mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Fix key name
This commit is contained in:
parent
7cf424b914
commit
4c4101fe64
|
@ -175,7 +175,7 @@ class AssetModelFactory extends Factory
|
|||
return Category::find(1) ?? Category::factory()->assetLaptopCategory();
|
||||
},
|
||||
'manufacturer_id' => function () {
|
||||
return Manufacturer::where('Asus', 'Asus')->first() ?? Manufacturer::factory()->asus();
|
||||
return Manufacturer::where('name', 'Asus')->first() ?? Manufacturer::factory()->asus();
|
||||
},
|
||||
'eol' => '36',
|
||||
'depreciation_id' => 1,
|
||||
|
|
Loading…
Reference in a new issue