File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
src/Symfony/Bridge/Twig/Tests/Extension Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -82,11 +82,9 @@ public function testMoneyWidgetInIso()
82
82
__DIR__ .'/Fixtures/templates/form ' ,
83
83
)), array ('strict_variables ' => true ));
84
84
$ environment ->addExtension (new TranslationExtension (new StubTranslator ()));
85
- $ environment ->addExtension ($ this -> extension );
85
+ $ environment ->addExtension (new FormExtension () );
86
86
$ environment ->setCharset ('ISO-8859-1 ' );
87
87
88
- $ this ->extension ->initRuntime ($ environment );
89
-
90
88
$ view = $ this ->factory
91
89
->createNamed ('name ' , 'Symfony\Component\Form\Extension\Core\Type\MoneyType ' )
92
90
->createView ()
Original file line number Diff line number Diff line change @@ -172,11 +172,9 @@ public function testMoneyWidgetInIso()
172
172
__DIR__ .'/Fixtures/templates/form ' ,
173
173
)), array ('strict_variables ' => true ));
174
174
$ environment ->addExtension (new TranslationExtension (new StubTranslator ()));
175
- $ environment ->addExtension ($ this -> extension );
175
+ $ environment ->addExtension (new FormExtension () );
176
176
$ environment ->setCharset ('ISO-8859-1 ' );
177
177
178
- $ this ->extension ->initRuntime ($ environment );
179
-
180
178
$ view = $ this ->factory
181
179
->createNamed ('name ' , 'Symfony\Component\Form\Extension\Core\Type\MoneyType ' )
182
180
->createView ()
You can’t perform that action at this time.
0 commit comments