mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Removed some defaul values to handle validation
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
77d6649e38
commit
37033fb2f7
|
@ -36,7 +36,6 @@ class AssetFactory extends Factory
|
|||
{
|
||||
return [
|
||||
'name' => null,
|
||||
'rtd_location_id' => rand(1, 10),
|
||||
'serial' => $this->faker->uuid,
|
||||
'status_id' => 1,
|
||||
'user_id' => 1,
|
||||
|
@ -45,7 +44,6 @@ class AssetFactory extends Factory
|
|||
'purchase_date' => $this->faker->dateTimeBetween('-1 years', 'now', date_default_timezone_get()),
|
||||
'purchase_cost' => $this->faker->randomFloat(2, '299.99', '2999.99'),
|
||||
'order_number' => $this->faker->numberBetween(1000000, 50000000),
|
||||
'supplier_id' => 1,
|
||||
'requestable' => $this->faker->boolean(),
|
||||
'assigned_to' => null,
|
||||
'assigned_type' => null,
|
||||
|
|
|
@ -93,7 +93,6 @@ class AssetModelFactory extends Factory
|
|||
return [
|
||||
'name' => 'Macbook Pro 13"',
|
||||
'category_id' => 1,
|
||||
'manufacturer_id' => 1,
|
||||
'eol' => '36',
|
||||
'depreciation_id' => 1,
|
||||
'image' => 'mbp.jpg',
|
||||
|
|
Loading…
Reference in a new issue