Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #48 from MathiasReker/include
Browse files Browse the repository at this point in the history
Include
  • Loading branch information
PierreRambaud authored Mar 15, 2019
2 parents 52d4747 + 10a0226 commit 9d196a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/AdvancedEUComplianceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
use PrestaShop\PrestaShop\Tests\TestCase\UnitTestCase;
use RepositoryManager;

require_once(_PS_MODULE_DIR_.'advancedeucompliance/advancedeucompliance.php');
require_once(_PS_ROOT_DIR_.'/tests/TestCase/UnitTestCase.php');
require_once _PS_MODULE_DIR_.'advancedeucompliance/advancedeucompliance.php';
require_once _PS_ROOT_DIR_.'/tests/TestCase/UnitTestCase.php';

class AdvancedEUComplianceTest extends UnitTestCase
{
Expand Down
6 changes: 3 additions & 3 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
* International Registered Trademark & Property of PrestaShop SA
*/
$mainDir = dirname(__DIR__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR;
require_once($mainDir.'config/defines.inc.php');
require_once(_PS_CONFIG_DIR_.'autoload.php');
require($mainDir.'tests/vendor/autoload.php');
require_once $mainDir.'config/defines.inc.php';
require_once _PS_CONFIG_DIR_.'autoload.php';
require $mainDir.'tests/vendor/autoload.php';

0 comments on commit 9d196a3

Please sign in to comment.