Browse files

Relative include path for RailsYAML PHPUnit tests

Avoids problems when PHPUnit includes this test through autodiscovery. This is the case when running PHPUnit
with a specific path argument, which overrules phpunit.xml.dist
(e.g. "phpunit sapphire/").
  • Loading branch information...
chillu committed Jul 5, 2012
1 parent b6c59f2 commit 9ce0c9a4834a1bee9630f01419bacbc0914bf6ac
@@ -6,7 +6,7 @@
* Translate_Adapter_RailsYAML
-require_once 'Translate/Adapter/RailsYAML.php';
+require_once dirname(__FILE__) . '/../../../library/Translate/Adapter/RailsYAML.php';
* @category Zend

0 comments on commit 9ce0c9a

Please sign in to comment.