From 33d659047c03d2b4cdff17ba742d1845edd38268 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sat, 20 Apr 2013 22:30:20 +0200 Subject: [PATCH] [Translation] fixed a unit test --- .../Component/Translation/Tests/Loader/XliffFileLoaderTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Translation/Tests/Loader/XliffFileLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/XliffFileLoaderTest.php index f68fd5852f..ecc28c0194 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/XliffFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/XliffFileLoaderTest.php @@ -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'));