Add special condition on test
modifié: core/lib/Thelia/Tests/FileFormat/Formatting/Formatter/CSVFormatterTest.php
This commit is contained in:
@@ -105,7 +105,7 @@ class CSVFormatterTest extends \PHPUnit_Framework_TestCase
|
|||||||
{
|
{
|
||||||
$this->formatter->lineReturn = "\n";
|
$this->formatter->lineReturn = "\n";
|
||||||
$this->formatter->delimiter = ",";
|
$this->formatter->delimiter = ",";
|
||||||
$data = "\"foo\",\"bar\",\"baz\"\n\"1\",\"2\",\"3\"\n\"4\",\"5\",\"6\"\n\"1\",\"2\",\"3\"";
|
$data = "\"foo\",\"bar\",baz\n\"1\",\"2\",3\n\"4\",5,\"6\"\n\"1\",\"2\",\"3\"";
|
||||||
|
|
||||||
$expected = [
|
$expected = [
|
||||||
[
|
[
|
||||||
@@ -131,4 +131,4 @@ class CSVFormatterTest extends \PHPUnit_Framework_TestCase
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user