mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Merge pull request #13122 from marcusmoore/fixes/increase-consumable-factory-name-length
Fixes potentially invalid name in consumable factory
This commit is contained in:
commit
9335bf7033
|
@ -27,7 +27,7 @@ class ConsumableFactory extends Factory
|
||||||
public function definition()
|
public function definition()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'name' => $this->faker->word(),
|
'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