diff options
author | Александр Кирюхин <alexander@kiryukhin.su> | 2018-01-19 19:03:26 +0300 |
---|---|---|
committer | Александр Кирюхин <alexander@kiryukhin.su> | 2018-01-19 19:03:26 +0300 |
commit | 8ea647570b87adda400e5a3ce6c91f4b51327a0d (patch) | |
tree | 7c5d328b41e64c3e78ac89c9674747346233c87a /tests/ParserTest.php | |
parent | 47c9d580c6e799e72b6a70b22dd5107790b1d3e9 (diff) |
Diffstat (limited to 'tests/ParserTest.php')
-rw-r--r-- | tests/ParserTest.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ParserTest.php b/tests/ParserTest.php index 9f13261..c67056b 100644 --- a/tests/ParserTest.php +++ b/tests/ParserTest.php @@ -5,6 +5,7 @@ declare(strict_types=1); * @author: Alexander Kiryukhin <alexander@kiryukhin.su> * @license: MIT */ + use NeonXP\Dotenv\Parser\Parser; use PHPUnit\Framework\TestCase; @@ -30,8 +31,8 @@ class ParserTest extends TestCase foreach ($tests as $test => $expected) { $result = $parser->parseLine($test); - $this->assertEquals($expected[0], $result->getKey()); - $this->assertEquals($expected[1], $result->getValue()); + $this->assertEquals($expected[0], $result['key']); + $this->assertEquals($expected[1], $result['value']); } } }
\ No newline at end of file |