mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02: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
|
||||
*/
|
||||
require_once 'Translate/Adapter/RailsYAML.php';
|
||||
require_once dirname(__FILE__) . '/../../../library/Translate/Adapter/RailsYAML.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
|
Loading…
Reference in New Issue
Block a user