Skip to content

Commit 15145c7

Browse files
minor #60596 Fix ContainerDebugCommandTest::testNoDumpedXML (MatTheCat)
This PR was merged into the 6.4 branch. Discussion ---------- Fix `ContainerDebugCommandTest::testNoDumpedXML` | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | N/A | License | MIT Additional options passed to `bootKernel` don’t end up as parameters; they are simply ignored. Commits ------- c24f895 Fix `ContainerDebugCommandTest::testNoDumpedXML`
2 parents 383eede + c24f895 commit 15145c7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/ContainerDebugCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function testNoDebug()
5353

5454
public function testNoDumpedXML()
5555
{
56-
static::bootKernel(['test_case' => 'ContainerDebug', 'root_config' => 'config.yml', 'debug' => true, 'debug.container.dump' => false]);
56+
static::bootKernel(['test_case' => 'ContainerDebug', 'root_config' => 'no_dump.yml', 'debug' => true]);
5757

5858
$application = new Application(static::$kernel);
5959
$application->setAutoExit(false);
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
imports:
2+
- { resource: config.yml }
3+
4+
parameters:
5+
debug.container.dump: false

0 commit comments

Comments
 (0)