8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 135c6f7 commit 6eeec7cCopy full SHA for 6eeec7c
src/Symfony/Component/Dotenv/Tests/DotenvTest.php
@@ -320,9 +320,12 @@ public function testGetVariablesValueFromGetenv()
320
putenv('Foo=Bar');
321
322
$dotenv = new Dotenv(true);
323
- $values = $dotenv->parse('Foo=${Foo}');
324
- $this->assertSame('Bar', $values['Foo']);
325
326
- putenv('Foo');
+ try {
+ $values = $dotenv->parse('Foo=${Foo}');
+ $this->assertSame('Bar', $values['Foo']);
327
+ } finally {
328
+ putenv('Foo');
329
+ }
330
}
331
0 commit comments