Ensure consumable name is valid in factory
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user