Skip to content

Commit 2440be6

Browse files
committed
feat: add test to check config root name
1 parent 93a5ea4 commit 2440be6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/Integration/DependencyInjection/ConfigurationTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ public function testProcessConfigurationWithDefaultConfiguration(): void
2222
self::assertSame($expectedBundleDefaultConfig, $this->processConfiguration([]));
2323
}
2424

25+
public function testConfigurationTreeBuilderRootName(): void
26+
{
27+
$configuration = new Configuration();
28+
$treeBuilder = $configuration->getConfigTreeBuilder();
29+
$rootNodeName = $treeBuilder->buildTree()->getName();
30+
31+
$this->assertSame('symfony_health_check', $rootNodeName);
32+
}
33+
2534
public function testProcessConfigurationHealthChecks(): void
2635
{
2736
$expectedConfig = [

0 commit comments

Comments
 (0)