Add special condition on test

modifié:         core/lib/Thelia/Tests/FileFormat/Formatting/Formatter/CSVFormatterTest.php
This commit is contained in:
Benjamin Perche
2014-07-21 09:35:35 +02:00
parent ce36b7b68e
commit a03d15b5b9

View File

@@ -105,7 +105,7 @@ class CSVFormatterTest extends \PHPUnit_Framework_TestCase
{
$this->formatter->lineReturn = "\n";
$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 = [
[
@@ -131,4 +131,4 @@ class CSVFormatterTest extends \PHPUnit_Framework_TestCase
);
}
}
}