File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ public function testMergeWithDifferentIdentifiersForPlaceholders()
112
112
public function testResolveEnvRequiresStrings ()
113
113
{
114
114
$ this ->expectException ('Symfony\Component\DependencyInjection\Exception\RuntimeException ' );
115
- $ this ->expectExceptionMessage ('The default value of env parameter "INT_VAR" must be a string or null, integer given. ' );
115
+ $ this ->expectExceptionMessage ('The default value of env parameter "INT_VAR" must be a string or null, " integer" given. ' );
116
116
117
117
$ bag = new EnvPlaceholderParameterBag ();
118
118
$ bag ->get ('env(INT_VAR) ' );
@@ -154,7 +154,7 @@ public function testResolveEnvAllowsNull()
154
154
public function testResolveThrowsOnBadDefaultValue ()
155
155
{
156
156
$ this ->expectException ('Symfony\Component\DependencyInjection\Exception\RuntimeException ' );
157
- $ this ->expectExceptionMessage ('The default value of env parameter "ARRAY_VAR" must be a string or null, array given. ' );
157
+ $ this ->expectExceptionMessage ('The default value of env parameter "ARRAY_VAR" must be a string or null, " array" given. ' );
158
158
$ bag = new EnvPlaceholderParameterBag ();
159
159
$ bag ->get ('env(ARRAY_VAR) ' );
160
160
$ bag ->set ('env(ARRAY_VAR) ' , []);
You can’t perform that action at this time.
0 commit comments