mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Get name as a string and not an array
This commit is contained in:
parent
371d11305b
commit
d3a0bacb98
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue