@@ -49,16 +49,16 @@ discard block |
||
| 49 | 49 | |
| 50 | 50 | $productTranslationFr = new ProductTranslation(); |
| 51 | 51 | $productTranslationFr->setLocale('fr') |
| 52 | - ->setTitle('title fr') |
|
| 53 | - ->setDescription('desc fr'); |
|
| 52 | + ->setTitle('title fr') |
|
| 53 | + ->setDescription('desc fr'); |
|
| 54 | 54 | $productTranslationEn = new ProductTranslation(); |
| 55 | 55 | $productTranslationEn->setLocale('en') |
| 56 | - ->setTitle('title en') |
|
| 57 | - ->setDescription('desc en'); |
|
| 56 | + ->setTitle('title en') |
|
| 57 | + ->setDescription('desc en'); |
|
| 58 | 58 | $productTranslationDe = new ProductTranslation(); |
| 59 | 59 | $productTranslationDe->setLocale('de') |
| 60 | - ->setTitle('title de') |
|
| 61 | - ->setDescription('desc de'); |
|
| 60 | + ->setTitle('title de') |
|
| 61 | + ->setDescription('desc de'); |
|
| 62 | 62 | |
| 63 | 63 | $product = new Product(); |
| 64 | 64 | $product->setUrl('a2lix.fr') |
@@ -141,12 +141,12 @@ discard block |
||
| 141 | 141 | |
| 142 | 142 | $productTranslationEs = new ProductTranslation(); |
| 143 | 143 | $productTranslationEs->setLocale('es') |
| 144 | - ->setTitle('title es') |
|
| 145 | - ->setDescription('desc es'); |
|
| 144 | + ->setTitle('title es') |
|
| 145 | + ->setDescription('desc es'); |
|
| 146 | 146 | $productTranslationFr = new ProductTranslation(); |
| 147 | 147 | $productTranslationFr->setLocale('fr') |
| 148 | - ->setTitle('title fr') |
|
| 149 | - ->setDescription('desc fr'); |
|
| 148 | + ->setTitle('title fr') |
|
| 149 | + ->setDescription('desc fr'); |
|
| 150 | 150 | |
| 151 | 151 | $product = new Product(); |
| 152 | 152 | $product->setUrl('a2lix.fr') |
@@ -190,8 +190,8 @@ discard block |
||
| 190 | 190 | ]; |
| 191 | 191 | $productTranslationDe = new ProductTranslation(); |
| 192 | 192 | $productTranslationDe->setLocale('de') |
| 193 | - ->setTitle('title de') |
|
| 194 | - ->setDescription('desc de'); |
|
| 193 | + ->setTitle('title de') |
|
| 194 | + ->setDescription('desc de'); |
|
| 195 | 195 | $product->addTranslation($productTranslationDe); |
| 196 | 196 | |
| 197 | 197 | $form = $this->factory->createBuilder($formType, $product) |
@@ -236,13 +236,13 @@ discard block |
||
| 236 | 236 | |
| 237 | 237 | $productTranslationFr = new ProductTranslation(); |
| 238 | 238 | $productTranslationFr->setLocale('fr') |
| 239 | - ->setTitle('title fr'); |
|
| 239 | + ->setTitle('title fr'); |
|
| 240 | 240 | $productTranslationEn = new ProductTranslation(); |
| 241 | 241 | $productTranslationEn->setLocale('en') |
| 242 | - ->setTitle('title en'); |
|
| 242 | + ->setTitle('title en'); |
|
| 243 | 243 | $productTranslationDe = new ProductTranslation(); |
| 244 | 244 | $productTranslationDe->setLocale('de') |
| 245 | - ->setTitle('title de'); |
|
| 245 | + ->setTitle('title de'); |
|
| 246 | 246 | |
| 247 | 247 | $product = new Product(); |
| 248 | 248 | $product->setUrl('a2lix.fr') |