From 371d11305b2ae07ef8d2040d2d80263780ead9ce Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Mon, 5 Jun 2023 12:17:44 -0700 Subject: [PATCH] Ensure consumable name is valid in factory --- database/factories/ConsumableFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/factories/ConsumableFactory.php b/database/factories/ConsumableFactory.php index 5444999711..ea303eccae 100644 --- a/database/factories/ConsumableFactory.php +++ b/database/factories/ConsumableFactory.php @@ -27,7 +27,7 @@ class ConsumableFactory extends Factory public function definition() { return [ - 'name' => $this->faker->word(), + 'name' => $this->faker->words(), 'category_id' => Category::factory(), 'user_id' => User::factory()->superuser(), 'item_no' => $this->faker->numberBetween(1000000, 50000000),