mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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/").
This commit is contained in:
parent
b6c59f2c95
commit
9ce0c9a483
@ -6,7 +6,7 @@ if (!defined('PHPUnit_MAIN_METHOD')) {
|
|||||||
/**
|
/**
|
||||||
* Translate_Adapter_RailsYAML
|
* Translate_Adapter_RailsYAML
|
||||||
*/
|
*/
|
||||||
require_once 'Translate/Adapter/RailsYAML.php';
|
require_once dirname(__FILE__) . '/../../../library/Translate/Adapter/RailsYAML.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @category Zend
|
* @category Zend
|
||||||
|
Loading…
x
Reference in New Issue
Block a user