@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | 'translation' => [ |
| 42 | 42 | 'classes' => [ |
| 43 | 43 | 'model' => BookTranslation::class, |
| 44 | - ], |
|
| 44 | + ], |
|
| 45 | 45 | ], |
| 46 | 46 | ], |
| 47 | 47 | ], |
@@ -73,18 +73,18 @@ discard block |
||
| 73 | 73 | * @test |
| 74 | 74 | */ |
| 75 | 75 | public function it_registers_default_translation_parameters() |
| 76 | - { |
|
| 77 | - // TODO: Move ResourceGrid integration to a dedicated compiler pass |
|
| 78 | - $this->setParameter('kernel.bundles', []); |
|
| 76 | + { |
|
| 77 | + // TODO: Move ResourceGrid integration to a dedicated compiler pass |
|
| 78 | + $this->setParameter('kernel.bundles', []); |
|
| 79 | 79 | |
| 80 | - $this->load([ |
|
| 81 | - 'translation' => [ |
|
| 82 | - 'locale_provider' => 'test.custom_locale_provider' |
|
| 83 | - ] |
|
| 84 | - ]); |
|
| 80 | + $this->load([ |
|
| 81 | + 'translation' => [ |
|
| 82 | + 'locale_provider' => 'test.custom_locale_provider' |
|
| 83 | + ] |
|
| 84 | + ]); |
|
| 85 | 85 | |
| 86 | - $this->assertContainerBuilderHasAlias('sylius.translation_locale_provider', 'test.custom_locale_provider'); |
|
| 87 | - } |
|
| 86 | + $this->assertContainerBuilderHasAlias('sylius.translation_locale_provider', 'test.custom_locale_provider'); |
|
| 87 | + } |
|
| 88 | 88 | |
| 89 | 89 | /** |
| 90 | 90 | * {@inheritdoc} |