8000 Merge branch '2.7' into 2.8 · symfony/symfony@a351c24 · GitHub
[go: up one dir, main page]

Skip to content

Commit a351c24

Browse files
Merge branch '2.7' into 2.8
* 2.7: [DI] Add missing legacy group on testLegacy
2 parents 87db587 + c584769 commit a351c24

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php

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

337+
/**
338+
* @group legacy
339+
*/
337340
public function testLegacyCreateServiceFactory()
338341
{
339342
$builder = new ContainerBuilder();
@@ -350,6 +353,9 @@ public function testLegacyCreateServiceFactory()
350353
$this->assertEquals(array('foo' => 'bar', 'bar' => 'foo', $builder->get('bar')), $builder->get('foo1')->arguments, '->createService() passes the arguments to the factory method');
351354
}
352355

356+
/**
357+
* @group legacy
358+
*/
353359
public function testLegacyCreateServiceFactoryService()
354360
{
355361
$builder = new ContainerBuilder();

0 commit comments

Comments
 (0)
0