From d6bf64f7a6c43720b769208cdcc0212fed9354ed Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Mon, 18 Nov 2013 15:04:00 +0100 Subject: [PATCH] change max weight in faker --- install/import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/import.php b/install/import.php index ab1cba486..a2eae1f4f 100644 --- a/install/import.php +++ b/install/import.php @@ -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();