Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 9ce0c9a4834a1bee9630f01419bacbc0914bf6ac 1 parent b6c59f2
@chillu chillu authored
View
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
Please sign in to comment.
Something went wrong with that request. Please try again.