From a13bdb4e0197288cecd56c38ef4df399677ead42 Mon Sep 17 00:00:00 2001 From: "Christopher C. Wells" Date: Wed, 7 Apr 2021 21:53:49 -0700 Subject: [PATCH] Don't use thirds in seed data --- database/Factories/IngredientAmountFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/Factories/IngredientAmountFactory.php b/database/Factories/IngredientAmountFactory.php index dd4e22c..388d543 100644 --- a/database/Factories/IngredientAmountFactory.php +++ b/database/Factories/IngredientAmountFactory.php @@ -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),