Ensure consumable name is valid in factory

This commit is contained in:
Marcus Moore 2023-06-05 12:17:44 -07:00
parent ff480a7247
commit 371d11305b
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),