diff --git a/test/Translator/Loader/GettextTest.php b/test/Translator/Loader/GettextTest.php index 703f5c84..3fccb30e 100644 --- a/test/Translator/Loader/GettextTest.php +++ b/test/Translator/Loader/GettextTest.php @@ -90,6 +90,7 @@ public function testLoaderLoadsPluralRules() public function testLoaderLoadsFromIncludePath() { $loader = new GettextLoader(); + $loader->setUseIncludePath(true); $textDomain = $loader->load('en_EN', 'translation_en.mo'); $this->assertEquals('Message 1 (en)', $textDomain['Message 1']); @@ -99,6 +100,7 @@ public function testLoaderLoadsFromIncludePath() public function testLoaderLoadsFromPhar() { $loader = new GettextLoader(); + $loader->setUseIncludePath(true); $textDomain = $loader->load('en_EN', 'phar://' . $this->testFilesDir . '/translations.phar/translation_en.mo'); $this->assertEquals('Message 1 (en)', $textDomain['Message 1']); diff --git a/test/Translator/Loader/IniTest.php b/test/Translator/Loader/IniTest.php index 650c9555..47377592 100644 --- a/test/Translator/Loader/IniTest.php +++ b/test/Translator/Loader/IniTest.php @@ -104,6 +104,7 @@ public function testLoaderLoadsPluralRules() public function testLoaderLoadsFromIncludePath() { $loader = new IniLoader(); + $loader->setUseIncludePath(true); $textDomain = $loader->load('en_EN', 'translation_en.ini'); $this->assertEquals('Message 1 (en)', $textDomain['Message 1']); @@ -113,6 +114,7 @@ public function testLoaderLoadsFromIncludePath() public function testLoaderLoadsFromPhar() { $loader = new IniLoader(); + $loader->setUseIncludePath(true); $textDomain = $loader->load('en_EN', 'phar://' . $this->testFilesDir . '/translations.phar/translation_en.ini'); $this->assertEquals('Message 1 (en)', $textDomain['Message 1']); diff --git a/test/Translator/Loader/PhpArrayTest.php b/test/Translator/Loader/PhpArrayTest.php index be764153..0543b29a 100644 --- a/test/Translator/Loader/PhpArrayTest.php +++ b/test/Translator/Loader/PhpArrayTest.php @@ -83,6 +83,7 @@ public function testLoaderLoadsPluralRules() public function testLoaderLoadsFromIncludePath() { $loader = new PhpArrayLoader(); + $loader->setUseIncludePath(true); $textDomain = $loader->load('en_EN', 'translation_en.php'); $this->assertEquals('Message 1 (en)', $textDomain['Message 1']); @@ -92,6 +93,7 @@ public function testLoaderLoadsFromIncludePath() public function testLoaderLoadsFromPhar() { $loader = new PhpArrayLoader(); + $loader->setUseIncludePath(true); $textDomain = $loader->load('en_EN', 'phar://' . $this->testFilesDir . '/translations.phar/translation_en.php'); $this->assertEquals('Message 1 (en)', $textDomain['Message 1']);