Skip to content

Commit d3f5187

Browse files
minor symfony#45651 Remove blocking test for adding support for placeholders in EmumNode in 6.1 (ecourtial)
This PR was merged into the 4.4 branch. Discussion ---------- Remove blocking test for adding support for placeholders in EmumNode in 6.1 | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> Remove blocking test for the PR symfony#45624 Commits ------- a0bce33 Remove blocking test for adding support for placeholders in EmumNode in 6.1
2 parents 758aef7 + a0bce33 commit d3f5187

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/Symfony/Component/DependencyInjection/Tests/Compiler/ValidateEnvPlaceholdersPassTest.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -156,19 +156,6 @@ public function testConcatenatedEnvInConfig()
156156
$this->assertSame(['scalar_node' => $expected], $container->resolveEnvPlaceholders($ext->getConfig()));
157157
}
158158

159-
public function testEnvIsIncompatibleWithEnumNode()
160-
{
161-
$this->expectException(InvalidConfigurationException::class);
162-
$this->expectExceptionMessage('A dynamic value is not compatible with a "Symfony\Component\Config\Definition\EnumNode" node type at path "env_extension.enum_node".');
163-
$container = new ContainerBuilder();
164-
$container->registerExtension(new EnvExtension());
165-
$container->prependExtensionConfig('env_extension', [
166-
'enum_node' => '%env(FOO)%',
167-
]);
168-
169-
$this->doProcess($container);
170-
}
171-
172159
public function testEnvIsIncompatibleWithArrayNode()
173160
{
174161
$this->expectException(InvalidConfigurationException::class);

0 commit comments

Comments
 (0)