Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b5ee977

Browse filesBrowse files
minor #54380 [DependencyInjection]  fix test (xabbuh)
This PR was merged into the 7.1 branch. Discussion ---------- [DependencyInjection]  fix test | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- df97b92 fix test
2 parents cd2fc45 + df97b92 commit b5ee977
Copy full SHA for b5ee977

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/DependencyInjection/Tests/ParameterBag/EnvPlaceholderParameterBagTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/Tests/ParameterBag/EnvPlaceholderParameterBagTest.php
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.