improve randomFloat faker values

This commit is contained in:
Herbert Maschke 2020-03-31 14:46:08 +02:00
parent 3048ae4a7b
commit 5e89baf4e9
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ class Laravel5Helper extends Laravel5
'special_price_from' => null,
'special_price_to' => null,
'special_price' => null,
'price' => $faker->randomFloat(4, 1),
'price' => $faker->randomFloat(2, 1, 1000),
'weight' => '1.00', // necessary for shipping
'brand' => AttributeOption::firstWhere('attribute_id', $brand->id)->id,
];