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 dd67a45 commit 975f58fCopy full SHA for 975f58f
src/Symfony/Component/Dotenv/Tests/DotenvTest.php
@@ -206,7 +206,7 @@ public function testOverload()
206
file_put_contents($path1, 'FOO=BAR');
207
file_put_contents($path2, 'BAR=BAZ');
208
209
- (new DotEnv())->overload($path1, $path2);
+ (new Dotenv())->overload($path1, $path2);
210
211
$foo = getenv('FOO');
212
$bar = getenv('BAR');
@@ -267,7 +267,7 @@ public function testEnvVarIsOverriden()
267
{
268
putenv('TEST_ENV_VAR_OVERRIDEN=original_value');
269
270
- $dotenv = new DotEnv();
+ $dotenv = new Dotenv();
271
$dotenv->populate(array('TEST_ENV_VAR_OVERRIDEN' => 'new_value'), true);
272
273
$this->assertSame('new_value', getenv('TEST_ENV_VAR_OVERRIDEN'));
0 commit comments