8000 Merge branch '3.0' · symfony/symfony@db16d52 · GitHub
[go: up one dir, main page]

Skip to content

Commit db16d52

Browse files
committed
Merge branch '3.0'
* 3.0: removed legacy test
2 parents c88b958 + 487f068 commit db16d52

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/Symfony/Component/DependencyInjection/Tests/Compiler/ReplaceAliasByActualDefinitionPassTest.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff 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
*/

0 commit comments

Comments
 (0)
0