Skip to content

Commit c7ca0d7

Browse files
[DI] Add missing legacy group on testLegacy
1 parent 2bfb62e commit c7ca0d7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Tests/ContainerBuilderTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,9 @@ public function testCreateServiceFactory()
308308
$this->assertTrue($builder->get('baz')->called, '->createService() uses another service as factory');
309309
}
310310

311+
/**
312+
* @group legacy
313+
*/
311314
public function testLegacyCreateServiceFactory()
312315
{
313316
$builder = new ContainerBuilder();
@@ -324,6 +327,9 @@ public function testLegacyCreateServiceFactory()
324327
$this->assertEquals(array('foo' => 'bar', 'bar' => 'foo', $builder->get('bar')), $builder->get('foo1')->arguments, '->createService() passes the arguments to the factory method');
325328
}
326329

330+
/**
331+
* @group legacy
332+
*/
327333
public function testLegacyCreateServiceFactoryService()
328334
{
329335
$builder = new ContainerBuilder();

0 commit comments

Comments
 (0)