Don't use thirds in seed data

This commit is contained in:
Christopher C. Wells 2021-04-07 21:53:49 -07:00
parent 49b16d47e4
commit a13bdb4e01
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class IngredientAmountFactory extends Factory
return [
'ingredient_id' => $ingredient_factory,
'ingredient_type' => $ingredient_type,
'amount' => $this->faker->randomElement([1/8, 1/4, 1/3, 1/2, 3/4, 1, 1.25, 1.5, 1.75, 2, 2.5, 3]),
'amount' => $this->faker->randomElement([1/8, 1/4, 1/2, 3/4, 1, 1.25, 1.5, 1.75, 2, 2.5, 3]),
'unit' => $ingredient_unit,
'detail' => $this->faker->boolean() ? Words::randomWords('a') : null,
'weight' => $this->faker->numberBetween(0, 50),