@@ -277,7 +277,7 @@ public function testPHPConfigurationIsReadCorrectly()
277
277
'ini ' => array ('foo ' => 'bar ' ),
278
278
'const ' => array ('FOO ' => false , 'BAR ' => true ),
279
279
'var ' => array ('foo ' => false ),
280
- 'env ' => array ('foo ' => true ),
280
+ 'env ' => array ('foo ' => ' true ' ),
281
281
'post ' => array ('foo ' => 'bar ' ),
282
282
'get ' => array ('foo ' => 'bar ' ),
283
283
'cookie ' => array ('foo ' => 'bar ' ),
@@ -302,8 +302,8 @@ public function testPHPConfigurationIsHandledCorrectly()
302
302
$ this ->assertEquals (false , FOO );
303
303
$ this ->assertEquals (true , BAR );
304
304
$ this ->assertEquals (false , $ GLOBALS ['foo ' ]);
305
- $ this ->assertEquals (true , $ _ENV ['foo ' ]);
306
- $ this ->assertEquals (true , getenv ('foo ' ));
305
+ $ this ->assertEquals (' true ' , $ _ENV ['foo ' ]);
306
+ $ this ->assertEquals (' true ' , getenv ('foo ' ));
307
307
$ this ->assertEquals ('bar ' , $ _POST ['foo ' ]);
308
308
$ this ->assertEquals ('bar ' , $ _GET ['foo ' ]);
309
309
$ this ->assertEquals ('bar ' , $ _COOKIE ['foo ' ]);
@@ -319,11 +319,11 @@ public function testPHPConfigurationIsHandledCorrectly()
319
319
*/
320
320
public function testHandlePHPConfigurationDoesNotOverwrittenExistingEnvArrayVariables ()
321
321
{
322
- $ _ENV ['foo ' ] = false ;
322
+ $ _ENV ['foo ' ] = ' false ' ;
323
323
$ this ->configuration ->handlePHPConfiguration ();
324
324
325
- $ this ->assertEquals (false , $ _ENV ['foo ' ]);
326
- $ this ->assertEquals (true , getenv ('foo ' ));
325
+ $ this ->assertEquals (' false ' , $ _ENV ['foo ' ]);
326
+ $ this ->assertEquals (' true ' , getenv ('foo ' ));
327
327
}
328
328
329
329
/**
@@ -336,7 +336,7 @@ public function testHandlePHPConfigurationDoesNotOverriteVariablesFromPutEnv()
336
336
putenv ('foo=putenv ' );
337
337
$ this ->configuration ->handlePHPConfiguration ();
338
338
339
- $ this ->assertEquals (true , $ _ENV ['foo ' ]);
339
+ $ this ->assertEquals (' true ' , $ _ENV ['foo ' ]);
340
340
$ this ->assertEquals ('putenv ' , getenv ('foo ' ));
341
341
}
342
342
0 commit comments