mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Ensure consumable name is valid in factory
This commit is contained in:
parent
ff480a7247
commit
371d11305b
|
@ -27,7 +27,7 @@ class ConsumableFactory extends Factory
|
|||
public function definition()
|
||||
{
|
||||
return [
|
||||
'name' => $this->faker->word(),
|
||||
'name' => $this->faker->words(),
|
||||
'category_id' => Category::factory(),
|
||||
'user_id' => User::factory()->superuser(),
|
||||
'item_no' => $this->faker->numberBetween(1000000, 50000000),
|
||||
|
|
Loading…
Reference in a new issue