raise generated default inventory quantity to _at least_ 100 to avoid sellout in checkout tests

This commit is contained in:
Herbert Maschke 2020-03-31 15:41:50 +02:00
parent 62ceb45ee5
commit 292e7c5e08
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ use Webkul\Product\Models\ProductInventory;
$factory->define(ProductInventory::class, function (Faker $faker) {
return [
'qty' => $faker->numberBetween(1, 80),
'qty' => $faker->numberBetween(100, 200),
'product_id' => function () {
return factory(Product::class)->create()->id;
},