summaryrefslogtreecommitdiffstats
path: root/test/WriterTest.php
diff options
context:
space:
mode:
authorIgnace Nyamagana Butera <nyamsprod@gmail.com>2015-01-28 13:13:13 +0100
committerIgnace Nyamagana Butera <nyamsprod@gmail.com>2015-01-28 13:13:13 +0100
commit7f7a61caa9d103d8928345b44969e72350af37e6 (patch)
tree47ee205ff900ab64c3189f4f1560c7b9f4afd367 /test/WriterTest.php
parent08802ef10cc607484a7efe2a02bf2a521abf3b7e (diff)
downloadcsv-7f7a61caa9d103d8928345b44969e72350af37e6.zip
csv-7f7a61caa9d103d8928345b44969e72350af37e6.tar.gz
csv-7f7a61caa9d103d8928345b44969e72350af37e6.tar.bz2
improve new features
Diffstat (limited to 'test/WriterTest.php')
-rw-r--r--test/WriterTest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/WriterTest.php b/test/WriterTest.php
index 22f1137..06e2db7 100644
--- a/test/WriterTest.php
+++ b/test/WriterTest.php
@@ -118,8 +118,7 @@ class WriterTest extends PHPUnit_Framework_TestCase
'john,doe,john.doe@example.com',
['john', null, 'john.doe@example.com'],
];
- $this->csv->setNullHandlingMode(Writer::NULL_AS_EMPTY);
- $this->csv->useFormatValidation(false);
+ $this->csv->setNullHandlingMode(Writer::DISABLE_NULL_HANDLING);
$this->csv->insertAll($expected);
$iterator = new LimitIterator($this->csv->getIterator(), 2, 1);