Skip to content

Commit

Permalink
Merge pull request #8315 from kenjis/fix-test-bootstrap.php
Browse files Browse the repository at this point in the history
test: fix COMPOSER_PATH may be false
  • Loading branch information
kenjis authored Dec 9, 2023
2 parents 43a06ae + b17dbf5 commit ba8c285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Test/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
defined('FCPATH') || define('FCPATH', realpath(PUBLICPATH) . DIRECTORY_SEPARATOR);
defined('TESTPATH') || define('TESTPATH', realpath(HOMEPATH . 'tests/') . DIRECTORY_SEPARATOR);
defined('SUPPORTPATH') || define('SUPPORTPATH', realpath(TESTPATH . '_support/') . DIRECTORY_SEPARATOR);
defined('COMPOSER_PATH') || define('COMPOSER_PATH', realpath(HOMEPATH . 'vendor/autoload.php'));
defined('COMPOSER_PATH') || define('COMPOSER_PATH', (string) realpath(HOMEPATH . 'vendor/autoload.php'));
defined('VENDORPATH') || define('VENDORPATH', realpath(HOMEPATH . 'vendor') . DIRECTORY_SEPARATOR);

// Load Common.php from App then System
Expand Down

0 comments on commit ba8c285

Please sign in to comment.