We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27e1770 commit 821800aCopy full SHA for 821800a
Tests/Compiler/ReplaceAliasByActualDefinitionPassTest.php
@@ -48,26 +48,6 @@ public function testProcess()
48
$this->assertSame('b_alias', (string) $resolvedFactory[0]);
49
}
50
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
71
/**
72
* @expectedException \InvalidArgumentException
73
*/
0 commit comments