mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Get name as a string and not an array
This commit is contained in:
parent
42a4941ad2
commit
4fb86ad2fb
|
@ -27,7 +27,7 @@ class ConsumableFactory extends Factory
|
||||||
public function definition()
|
public function definition()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'name' => $this->faker->words(),
|
'name' => $this->faker->words(3, true),
|
||||||
'category_id' => Category::factory(),
|
'category_id' => Category::factory(),
|
||||||
'user_id' => User::factory()->superuser(),
|
'user_id' => User::factory()->superuser(),
|
||||||
'item_no' => $this->faker->numberBetween(1000000, 50000000),
|
'item_no' => $this->faker->numberBetween(1000000, 50000000),
|
||||||
|
|
Loading…
Reference in a new issue