Skip to content

Commit 6928ba4

Browse files
committed
fix test
1 parent 459f055 commit 6928ba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/ParameterBag/EnvPlaceholderParameterBagTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function testGetThrowsInvalidArgumentExceptionIfEnvNameContainsNonWordCha
3131
{
3232
$bag = new EnvPlaceholderParameterBag();
3333
$this->expectException(InvalidArgumentException::class);
34-
$this->expectExceptionMessage('Invalid env(%foo%) name: only "word" characters are allowed.');
34+
$this->expectExceptionMessage('The given env var name "env(%foo%)" contains invalid characters (allowed characters: letters, digits, hyphens, backslashes and colons).');
3535
$bag->get('env(%foo%)');
3636
}
3737

0 commit comments

Comments
 (0)