From c5847696eac0c71615f1c2ea9ed0b2ac8dd32302 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 10 Jan 2017 15:26:05 +0100 Subject: [PATCH] [DI] Add missing legacy group on testLegacy --- .../DependencyInjection/Tests/ContainerBuilderTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php b/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php index b95574ab46..77015aab25 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php +++ b/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php @@ -308,6 +308,9 @@ class ContainerBuilderTest extends \PHPUnit_Framework_TestCase $this->assertTrue($builder->get('baz')->called, '->createService() uses another service as factory'); } + /** + * @group legacy + */ public function testLegacyCreateServiceFactory() { $builder = new ContainerBuilder(); @@ -324,6 +327,9 @@ class ContainerBuilderTest extends \PHPUnit_Framework_TestCase $this->assertEquals(array('foo' => 'bar', 'bar' => 'foo', $builder->get('bar')), $builder->get('foo1')->arguments, '->createService() passes the arguments to the factory method'); } + /** + * @group legacy + */ public function testLegacyCreateServiceFactoryService() { $builder = new ContainerBuilder();