Ensure consumable name is valid in factory

This commit is contained in:
Marcus Moore 2023-06-05 12:17:44 -07:00
parent 6585aa0cf0
commit 42a4941ad2
No known key found for this signature in database

View file

@ -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),