Skip to content

Commit d609e4e

Browse files
committed
Merge branch '2.3' into 2.6
* 2.3: remove unused code
2 parents 9b1eee1 + a68f09e commit d609e4e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Symfony/Component/DependencyInjection/Tests/Dumper/XmlDumperTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,9 @@ public static function setUpBeforeClass()
2525

2626
public function testDump()
2727
{
28-
$dumper = new XmlDumper($container = new ContainerBuilder());
28+
$dumper = new XmlDumper(new ContainerBuilder());
2929

3030
$this->assertXmlStringEqualsXmlFile(self::$fixturesPath.'/xml/services1.xml', $dumper->dump(), '->dump() dumps an empty container as an empty XML file');
31-
32-
$container = new ContainerBuilder();
33-
$dumper = new XmlDumper($container);
3431
}
3532

3633
public function testExportParameters()

0 commit comments

Comments
 (0)