@@ -59,16 +59,16 @@ |
||
| 59 | 59 | |
| 60 | 60 | $productTranslationEn = new ProductTranslation(); |
| 61 | 61 | $productTranslationEn->setLocale('en') |
| 62 | - ->setTitle('title en') |
|
| 63 | - ->setDescription('desc en'); |
|
| 62 | + ->setTitle('title en') |
|
| 63 | + ->setDescription('desc en'); |
|
| 64 | 64 | $productTranslationFr = new ProductTranslation(); |
| 65 | 65 | $productTranslationFr->setLocale('fr') |
| 66 | - ->setTitle('title fr') |
|
| 67 | - ->setDescription('desc fr'); |
|
| 66 | + ->setTitle('title fr') |
|
| 67 | + ->setDescription('desc fr'); |
|
| 68 | 68 | $productTranslationDe = new ProductTranslation(); |
| 69 | 69 | $productTranslationDe->setLocale('de') |
| 70 | - ->setTitle('title de') |
|
| 71 | - ->setDescription('desc de'); |
|
| 70 | + ->setTitle('title de') |
|
| 71 | + ->setDescription('desc de'); |
|
| 72 | 72 | |
| 73 | 73 | $product = new Product(); |
| 74 | 74 | $product->setUrl('a2lix.fr') |
@@ -42,8 +42,8 @@ discard block |
||
| 42 | 42 | parent::setUp(); |
| 43 | 43 | |
| 44 | 44 | $validator = $this->getMockBuilder(ValidatorInterface::class) |
| 45 | - ->disableOriginalConstructor() |
|
| 46 | - ->getMock(); |
|
| 45 | + ->disableOriginalConstructor() |
|
| 46 | + ->getMock(); |
|
| 47 | 47 | $validator->method('validate')->will($this->returnValue(new ConstraintViolationList())); |
| 48 | 48 | |
| 49 | 49 | $this->factory = Forms::createFormFactoryBuilder() |
@@ -53,8 +53,8 @@ discard block |
||
| 53 | 53 | ) |
| 54 | 54 | ->addTypeGuesser( |
| 55 | 55 | $this->getMockBuilder(ValidatorTypeGuesser::class) |
| 56 | - ->disableOriginalConstructor() |
|
| 57 | - ->getMock() |
|
| 56 | + ->disableOriginalConstructor() |
|
| 57 | + ->getMock() |
|
| 58 | 58 | ) |
| 59 | 59 | ->getFormFactory(); |
| 60 | 60 | |