From 9551862a95a563b6f4a59fcafe857cde70d868a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Bl=C3=A4ul?= Date: Sun, 18 Feb 2018 19:02:37 +0100 Subject: [PATCH] Allow current working dir to be different when running tests ...By using an absolute path --- tests/methods/ParseTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/methods/ParseTest.php b/tests/methods/ParseTest.php index 291f81e..ddbdc5e 100644 --- a/tests/methods/ParseTest.php +++ b/tests/methods/ParseTest.php @@ -132,7 +132,7 @@ class ParseTest extends PHPUnit\Framework\TestCase { * @depends testSepRowAutoDetection */ public function testGetColumnDatatypes() { - $this->csv->auto('tests/methods/fixtures/datatype.csv'); + $this->csv->auto(__DIR__ . '/fixtures/datatype.csv'); $this->csv->getDatatypes(); $expected = [ 'title' => 'string',