File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
src/Symfony/Component/DependencyInjection/Tests/Compiler Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -48,26 +48,6 @@ public function testProcess()
4848 $ this ->assertSame ('b_alias ' , (string ) $ resolvedFactory [0 ]);
4949 }
5050
51- /**
52- * @group legacy
53- */
54- public function testPrivateAliasesInFactory ()
55- {
56- $ container = new ContainerBuilder ();
57-
58- $ container ->register ('a ' , 'Bar\FooClass ' );
59- $ container ->register ('b ' , 'Bar\FooClass ' )
60- ->setFactoryService ('a ' )
61- ->setFactoryMethod ('getInstance ' );
62-
63- $ container ->register ('c ' , 'stdClass ' )->setPublic (false );
64- $ container ->setAlias ('c_alias ' , 'c ' );
65-
66- $ this ->process ($ container );
67-
68- $ this ->assertInstanceOf ('Bar\FooClass ' , $ container ->get ('b ' ));
69- }
70-
7151 /**
7252 * @expectedException \InvalidArgumentException
7353 */
You can’t perform that action at this time.
0 commit comments