1818use Symfony \Component \DependencyInjection \Reference ;
1919use Symfony \Component \Translation \DependencyInjection \TranslatorPass ;
2020
21- class TranslationPassTest extends TestCase
21+ class TranslatorPassTest extends TestCase
2222{
2323 public function testValidCollector ()
2424 {
@@ -35,7 +35,7 @@ public function testValidCollector()
3535 $ container ->setDefinition ('translation.reader ' , $ reader );
3636 $ container ->setDefinition ('translation.xliff_loader ' , $ loader );
3737
38- $ pass = new TranslatorPass (' translator.default ' , ' translation.reader ' );
38+ $ pass = new TranslatorPass ();
3939 $ pass ->process ($ container );
4040
4141 $ expectedReader = (new Definition ())
@@ -72,7 +72,7 @@ public function testValidCommandsViewPathsArgument()
7272 ;
7373 $ container ->setParameter ('twig.default_path ' , 'templates ' );
7474
75- $ pass = new TranslatorPass (' translator.default ' );
75+ $ pass = new TranslatorPass ();
7676 $ pass ->process ($ container );
7777
7878 $ expectedViewPaths = ['other/templates ' , 'tpl ' ];
@@ -113,7 +113,7 @@ public function testCommandsViewPathsArgumentsAreIgnoredWithOldServiceDefinition
113113 ;
114114 $ container ->setParameter ('twig.default_path ' , 'templates ' );
115115
116- $ pass = new TranslatorPass (' translator.default ' );
116+ $ pass = new TranslatorPass ();
117117 $ pass ->process ($ container );
118118
119119 $ this ->assertSame ('templates ' , $ debugCommand ->getArgument (4 ));
0 commit comments