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

Include #48

Merged
merged 2 commits into from
Mar 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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';