Skip to content

Commit

Permalink
Merge pull request PrestaShop#12 from M0rgan01/condition_autoload
Browse files Browse the repository at this point in the history
Add condition for autoload
  • Loading branch information
jolelievre authored Feb 13, 2024
2 parents 94092f0 + 82543c8 commit 7622942
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/Integration/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@
define('PHPUNIT_COMPOSER_INSTALL', dirname(__DIR__, 4) . '/vendor/autoload.php');
}

require_once dirname(__DIR__, 2) . '/vendor/autoload.php';
if (file_exists(dirname(__DIR__, 2) . '/vendor/autoload.php')) {
require_once dirname(__DIR__, 2) . '/vendor/autoload.php';
}

0 comments on commit 7622942

Please sign in to comment.