From 0e50aec3b9315206d15dbcf89601db8db0cb8366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Bl=C3=A4ul?= Date: Sat, 25 Nov 2017 10:51:08 +0100 Subject: [PATCH] Renamed example file 'single_row', as it containes a single column. --- tests/example_files/{single_row.csv => single_column.csv} | 0 tests/methods/parse_test.php | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename tests/example_files/{single_row.csv => single_column.csv} (100%) diff --git a/tests/example_files/single_row.csv b/tests/example_files/single_column.csv similarity index 100% rename from tests/example_files/single_row.csv rename to tests/example_files/single_column.csv diff --git a/tests/methods/parse_test.php b/tests/methods/parse_test.php index 17e54de..62ead34 100644 --- a/tests/methods/parse_test.php +++ b/tests/methods/parse_test.php @@ -39,8 +39,8 @@ class parse_test extends PHPUnit_Framework_TestCase { $this->assertEquals($expected_data, $row); } - public function test_single_row() { - $this->csv->auto(__DIR__ . '/../example_files/single_row.csv'); + public function test_single_column() { + $this->csv->auto(__DIR__ . '/../example_files/single_column.csv'); $expected = [ ['SMS' => '0444'], ['SMS' => '5555'],