fix tests

This commit is contained in:
Etienne Roudeix
2013-09-26 10:43:09 +02:00
parent 24467edd29
commit 5e0f9cedf5
18 changed files with 497 additions and 226 deletions

View File

@@ -225,7 +225,7 @@ try {
for($i=0; $i<4; $i++) {
$feature = new Thelia\Model\Feature();
$feature->setVisible(1);
//$feature->setPosition($i);
$feature->setPosition($i);
setI18n($faker, $feature);
$feature->save();
@@ -249,7 +249,7 @@ try {
$attributeList = array();
for($i=0; $i<4; $i++) {
$attribute = new Thelia\Model\Attribute();
//$attribute->setPosition($i);
$attribute->setPosition($i);
setI18n($faker, $attribute);
$attribute->save();