summaryrefslogtreecommitdiffstats
path: root/test/CsvTest.php
diff options
context:
space:
mode:
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()