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'],