change max weight in faker

This commit is contained in:
Manuel Raynaud
2013-11-18 15:04:00 +01:00
parent a7d274b4c6
commit d6bf64f7a6

View File

@@ -159,7 +159,7 @@ function createProduct($faker, $categories, $template, $attribute, $feature, $co
}
$stock->setNewness($faker->randomNumber(0,1));
$stock->setWeight($faker->randomFloat(2, 100,10000));
$stock->setWeight($faker->randomFloat(2, 1,30));
$stock->save($con);
$productPrice = new \Thelia\Model\ProductPrice();