mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
Allow current working dir to be different when running tests
...By using an absolute path
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user