summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorIgnace Nyamagana Butera <nyamsprod@gmail.com>2015-06-05 12:51:37 +0200
committerIgnace Nyamagana Butera <nyamsprod@gmail.com>2015-06-05 12:51:37 +0200
commit633aad5203d7001ae1323a432129a79e91560cf4 (patch)
treebb20b71b9240a5ece226c9beda70e83d0d6adab0 /test
parent4f23c95792acac522f9e73df4bd25398639cc1d8 (diff)
downloadcsv-633aad5203d7001ae1323a432129a79e91560cf4.zip
csv-633aad5203d7001ae1323a432129a79e91560cf4.tar.gz
csv-633aad5203d7001ae1323a432129a79e91560cf4.tar.bz2
Improve Conversion method
Diffstat (limited to 'test')
-rw-r--r--test/CsvTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CsvTest.php b/test/CsvTest.php
index 68f0ba8..5cd2837 100644
--- a/test/CsvTest.php
+++ b/test/CsvTest.php
@@ -54,7 +54,7 @@ class CsvTest extends PHPUnit_Framework_TestCase
public function testJsonSerialize()
{
- $this->assertContains(['john', 'doe', 'john.doe@example.com'], json_decode(json_encode($this->csv), true));
+ $this->assertSame($this->expected, json_decode(json_encode($this->csv), true));
}
/**