From 8ea647570b87adda400e5a3ce6c91f4b51327a0d Mon Sep 17 00:00:00 2001 From: Александр Кирюхин Date: Fri, 19 Jan 2018 19:03:26 +0300 Subject: Remove KeyValue object --- tests/ParserTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/ParserTest.php') 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 * @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 -- cgit v1.2.3