blob: 16c7a435f7a6b342455107d49e1f1fbb0551daaa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
declare(strict_types=1);
/**
* @author: Alexander Kiryukhin <alexander@kiryukhin.su>
* @license: MIT
*/
use PHPUnit\Framework\TestCase;
/**
* Class FileLoaderTest
*/
class FileLoaderTest extends TestCase
{
public function testLoadfile()
{
$loader = new NeonXP\Dotenv\Loader\FileLoader();
$result = $loader->load(__DIR__ . '/misc/.env.test');
$this->assertEquals(['KEY1=VALUE1', 'KEY2=VALUE2'], $result);
}
}
|