Improve code coverage

This commit is contained in:
Adrien Loison committed 2015-04-29 11:39:21 -07:00
1 parent c6e943041e
commit 3b4dfba38e
3 files changed
+47 -1

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ class CSV extends AbstractWriter
*/
protected function addRowToWriter(array $dataRow)
{
$wasWriteSuccessful = fputcsv($this->filePointer, $dataRow, $this->fieldDelimiter, $this->fieldEnclosure);
$wasWriteSuccessful = $this->globalFunctionsHelper->fputcsv($this->filePointer, $dataRow, $this->fieldDelimiter, $this->fieldEnclosure);
if ($wasWriteSuccessful === false) {
throw new IOException('Unable to write data');
}