[Translation] fixed a unit test
This commit is contained in:
parent
e81f7925eb
commit
33d659047c
|
@ -56,7 +56,7 @@ class XliffFileLoaderTest extends \PHPUnit_Framework_TestCase
|
||||||
$this->markTestSkipped('The iconv and mbstring extensions are not available.');
|
$this->markTestSkipped('The iconv and mbstring extensions are not available.');
|
||||||
}
|
}
|
||||||
|
|
||||||
$loader = $this->createLoader();
|
$loader = new XliffFileLoader();
|
||||||
$catalogue = $loader->load(__DIR__.'/../fixtures/encoding.xlf', 'en', 'domain1');
|
$catalogue = $loader->load(__DIR__.'/../fixtures/encoding.xlf', 'en', 'domain1');
|
||||||
|
|
||||||
$this->assertEquals(utf8_decode('föö'), $catalogue->get('bar', 'domain1'));
|
$this->assertEquals(utf8_decode('föö'), $catalogue->get('bar', 'domain1'));
|
||||||
|
|
Reference in New Issue