Get name as a string and not an array

This commit is contained in:
Marcus Moore 2023-06-05 12:57:09 -07:00
parent 371d11305b
commit d3a0bacb98
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->words(),
'name' => $this->faker->words(3, true),
'category_id' => Category::factory(),
'user_id' => User::factory()->superuser(),
'item_no' => $this->faker->numberBetween(1000000, 50000000),