summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorIgnace Nyamagana Butera <nyamsprod@gmail.com>2014-04-14 16:11:55 +0200
committerIgnace Nyamagana Butera <nyamsprod@gmail.com>2014-04-14 16:11:55 +0200
commit64b6eb536c56ee3b807e017efbd05e0daed78432 (patch)
tree39bbc3e5375fefb8b953a63d5b4fb9e317ae8fef /test
parentdb76dfec160a750bd6524d3a958149d3c65d7306 (diff)
downloadcsv-64b6eb536c56ee3b807e017efbd05e0daed78432.zip
csv-64b6eb536c56ee3b807e017efbd05e0daed78432.tar.gz
csv-64b6eb536c56ee3b807e017efbd05e0daed78432.tar.bz2
Columns Count Consistency test
Diffstat (limited to 'test')
-rw-r--r--test/WriterTest.php21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/WriterTest.php b/test/WriterTest.php
index c99797e..490d197 100644
--- a/test/WriterTest.php
+++ b/test/WriterTest.php
@@ -173,25 +173,4 @@ class WriterTest extends PHPUnit_Framework_TestCase
$reader = $this->csv->getReader();
$this->assertSame(['john', 'doe', 'john.doe@example.com'], $reader->fetchOne(0));
}
-
- public function testStrictMode()
- {
- $this->csv->setStrictMode('o');
- $this->assertTrue($this->csv->getStrictMode());
- }
-
- /**
- * @expectedException InvalidArgumentException
- */
- public function testFailedConsistencyCheck()
- {
- $expected = [
- ['john', 'doe', 'john.doe@example.com'],
- ['john', 'doe'],
- ];
- $this->csv->setStrictMode(true);
- foreach ($expected as $row) {
- $this->csv->insertOne($row);
- }
- }
}