mirror of
https://github.com/retailcrm/prestashop-module.git
synced 2025-03-02 19:33:14 +03:00
delete phpunit dir
This commit is contained in:
parent
c2ceac1a4a
commit
e3ec1b0518
18
tests/bootstrap.php
Normal file
18
tests/bootstrap.php
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
if (is_dir(__DIR__ . '/../../PrestaShop/tests-legacy')) {
|
||||||
|
require_once __DIR__ . '/../../PrestaShop/tests-legacy/bootstrap.php';
|
||||||
|
} else {
|
||||||
|
require_once __DIR__ . '/../../PrestaShop/tests/bootstrap.php';
|
||||||
|
}
|
||||||
|
|
||||||
|
require_once dirname(__DIR__) . '../../PrestaShop/config/config.inc.php';
|
||||||
|
require_once dirname(__DIR__) . '../../PrestaShop/config/defines_uri.inc.php';
|
||||||
|
require_once dirname(__DIR__) . '../retailcrm/bootstrap.php';
|
||||||
|
require_once __DIR__ . '/../retailcrm/retailcrm.php';
|
||||||
|
require_once dirname(__DIR__) . '../../PrestaShop/init.php';
|
||||||
|
require_once __DIR__ . '/helpers/RetailcrmTestCase.php';
|
||||||
|
require_once __DIR__ . '/helpers/RetailcrmTestHelper.php';
|
||||||
|
|
||||||
|
$module = new RetailCRM();
|
||||||
|
$module->install();
|
@ -1,18 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
if (\file_exists(__DIR__ . '/../../../PrestaShop/tests-legacy')) {
|
|
||||||
require_once __DIR__ . '/../../../PrestaShop/tests-legacy/bootstrap.php';
|
|
||||||
} else {
|
|
||||||
require_once __DIR__ . '/../../../PrestaShop/tests/bootstrap.php';
|
|
||||||
}
|
|
||||||
|
|
||||||
require_once dirname(__DIR__) . '../../../PrestaShop/config/config.inc.php';
|
|
||||||
require_once dirname(__DIR__) . '../../../PrestaShop/config/defines_uri.inc.php';
|
|
||||||
require_once dirname(__DIR__) . '../../retailcrm/bootstrap.php';
|
|
||||||
require_once __DIR__ . '/../../retailcrm/retailcrm.php';
|
|
||||||
require_once __DIR__ . '/../helpers/RetailcrmTestCase.php';
|
|
||||||
require_once __DIR__ . '/../helpers/RetailcrmTestHelper.php';
|
|
||||||
require_once dirname(__DIR__) . '../../../PrestaShop/init.php';
|
|
||||||
|
|
||||||
$module = new RetailCRM();
|
|
||||||
$module->install();
|
|
Loading…
x
Reference in New Issue
Block a user