Skip to content

Commit

Permalink
Merge branch '4.4' into 5.4
Browse files Browse the repository at this point in the history
* 4.4:
  Fix colors for 4.4
  Stand with Ukraine
  [FrameworkBundle] Ensure container is reset between tests
  Remove blocking test for adding support for placeholders in EmumNode in 6.1
  • Loading branch information
fabpot committed Mar 8, 2022
2 parents 0828fa3 + 336671c commit 35588b2
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions Tests/Compiler/ValidateEnvPlaceholdersPassTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,19 +153,6 @@ public function testConcatenatedEnvInConfig()
$this->assertSame(['scalar_node' => $expected], $container->resolveEnvPlaceholders($ext->getConfig()));
}

public function testEnvIsIncompatibleWithEnumNode()
{
$this->expectException(InvalidConfigurationException::class);
$this->expectExceptionMessage('A dynamic value is not compatible with a "Symfony\Component\Config\Definition\EnumNode" node type at path "env_extension.enum_node".');
$container = new ContainerBuilder();
$container->registerExtension(new EnvExtension());
$container->prependExtensionConfig('env_extension', [
'enum_node' => '%env(FOO)%',
]);

$this->doProcess($container);
}

public function testEnvIsIncompatibleWithArrayNode()
{
$this->expectException(InvalidConfigurationException::class);
Expand Down

0 comments on commit 35588b2

Please sign in to comment.