[Translation] fixed a unit test

This commit is contained in:
Fabien Potencier 2013-04-20 22:30:20 +02:00
parent e81f7925eb
commit 33d659047c
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class XliffFileLoaderTest extends \PHPUnit_Framework_TestCase
$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');
$this->assertEquals(utf8_decode('föö'), $catalogue->get('bar', 'domain1'));