Skip to content

Commit

Permalink
Relative include path for RailsYAML PHPUnit tests
Browse files Browse the repository at this point in the history
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 9ce0c9a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -6,7 +6,7 @@
/**
* Translate_Adapter_RailsYAML
*/
require_once 'Translate/Adapter/RailsYAML.php';
require_once dirname(__FILE__) . '/../../../library/Translate/Adapter/RailsYAML.php';

/**
* @category Zend
Expand Down

0 comments on commit 9ce0c9a

Please sign in to comment.