mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Use the proper ID for status ID factory
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
5a01fff79c
commit
3a1e2a56d6
|
@ -41,7 +41,7 @@ class AssetFactory extends Factory
|
|||
'name' => null,
|
||||
'rtd_location_id' => Location::factory()->create(),
|
||||
'serial' => $this->faker->uuid,
|
||||
'status_id' => StatusLabel::factory()->create(),
|
||||
'status_id' => StatusLabel::factory()->create()->id,
|
||||
'user_id' => 1,
|
||||
'asset_tag' => $this->faker->unixTime('now'),
|
||||
'notes' => 'Created by DB seeder',
|
||||
|
|
Loading…
Reference in a new issue