Fixing tests bootstrap
This commit is contained in:
parent
1e48fa278a
commit
883f9075b8
|
@ -21,7 +21,7 @@ $conf['b8']['view']['path'] = dirname(__DIR__) . '/PHPCI/View/';
|
||||||
|
|
||||||
// If the PHPCI config file is not where we expect it, try looking in
|
// If the PHPCI config file is not where we expect it, try looking in
|
||||||
// env for an alternative config path.
|
// env for an alternative config path.
|
||||||
$configFile = dirname(__FILE__) . '/PHPCI/config.yml';
|
$configFile = dirname(__FILE__) . '/../PHPCI/config.yml';
|
||||||
|
|
||||||
if (!file_exists($configFile)) {
|
if (!file_exists($configFile)) {
|
||||||
$configEnv = getenv('phpci_config_file');
|
$configEnv = getenv('phpci_config_file');
|
||||||
|
|
Loading…
Reference in a new issue