Merge pull request #13122 from marcusmoore/fixes/increase-consumable-factory-name-length

Fixes potentially invalid name in consumable factory
This commit is contained in:
snipe 2023-06-07 11:43:13 +01:00 committed by GitHub
commit 9335bf7033
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ class ConsumableFactory extends Factory
public function definition()
{
return [
'name' => $this->faker->word(),
'name' => $this->faker->words(3, true),
'category_id' => Category::factory(),
'user_id' => User::factory()->superuser(),
'item_no' => $this->faker->numberBetween(1000000, 50000000),