summaryrefslogtreecommitdiffstats
path: root/test/CsvTest.php
diff options
context:
space:
mode:
authorIgnace Nyamagana Butera <nyamsprod@gmail.com>2014-05-16 14:29:46 +0200
committerIgnace Nyamagana Butera <nyamsprod@gmail.com>2014-05-16 14:29:46 +0200
commit4bb58cbde15f1f55e0eec74936b7f337ed6493c7 (patch)
tree44c29bf2ffea4437511c37eb44c6d33d0a735876 /test/CsvTest.php
parentd2d77c332e870f241009a1ac16e57f1b4adb6c3b (diff)
downloadcsv-4bb58cbde15f1f55e0eec74936b7f337ed6493c7.zip
csv-4bb58cbde15f1f55e0eec74936b7f337ed6493c7.tar.gz
csv-4bb58cbde15f1f55e0eec74936b7f337ed6493c7.tar.bz2
restore deprecated methods
Diffstat (limited to 'test/CsvTest.php')
-rw-r--r--test/CsvTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CsvTest.php b/test/CsvTest.php
index 2898180..cc6c9c7 100644
--- a/test/CsvTest.php
+++ b/test/CsvTest.php
@@ -164,10 +164,10 @@ class CsvTest extends PHPUnit_Framework_TestCase
public function testEncoding()
{
$expected = 'iso-8859-15';
- $this->csv->setEncodingFrom($expected);
- $this->assertSame(strtoupper($expected), $this->csv->getEncodingFrom());
+ $this->csv->setEncoding($expected);
+ $this->assertSame(strtoupper($expected), $this->csv->getEncoding());
- $this->csv->setEncodingFrom('');
+ $this->csv->setEncoding('');
}
public function testToString()