Skip to content
This repository
Browse code

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
Ingo Schommer authored July 05, 2012
2  thirdparty/zend_translate_railsyaml/tests/Translate/Adapter/RailsYAMLTest.php
@@ -6,7 +6,7 @@
6 6
 /**
7 7
  * Translate_Adapter_RailsYAML
8 8
  */
9  
-require_once 'Translate/Adapter/RailsYAML.php';
  9
+require_once dirname(__FILE__) . '/../../../library/Translate/Adapter/RailsYAML.php';
10 10
 
11 11
 /**
12 12
  * @category   Zend

0 notes on commit 9ce0c9a

Please sign in to comment.
Something went wrong with that request. Please try again.