Removed forgotten var_dump().

This commit is contained in:
Franck Allimant
2013-10-24 16:56:14 +02:00
parent db6d5692eb
commit d0213f36d4
2 changed files with 1 additions and 4 deletions

View File

@@ -279,10 +279,6 @@ class ProductController extends AbstractCrudController
$combinationPseForm = new ProductSaleElementUpdateForm($this->getRequest(), "form", $combinationPseData);
$this->getParserContext()->addForm($combinationPseForm);
var_dump($defaultPseData);
var_dump($combinationPseData);
}
// Prepare the data that will hydrate the form(s)

View File

@@ -426,6 +426,7 @@ try {
$stock->setNewness($faker->randomNumber(0,1));
$stock->setWeight($faker->randomFloat(2, 100,10000));
$stock->setIsDefault($i == 0);
$stock->setEanCode(strtoupper($faker->text(13)));
$stock->save();
$productPrice = new \Thelia\Model\ProductPrice();