Skip to content
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...
1 parent b6c59f2 commit 9ce0c9a4834a1bee9630f01419bacbc0914bf6ac @chillu chillu committed
2  thirdparty/zend_translate_railsyaml/tests/Translate/Adapter/RailsYAMLTest.php
@@ -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.
Something went wrong with that request. Please try again.