Fix unit test paths

This commit is contained in:
Thilina Hasantha
2018-05-01 17:05:21 +02:00
parent f803f4265d
commit 257071da2d
3 changed files with 5 additions and 5 deletions

View File

@@ -13,13 +13,13 @@ define('CLIENT_NAME', 'app');
if (!defined('MYSQL_ROOT_USER') || !defined('MYSQL_ROOT_PASS')) {
//Tests running on vagrant
define('APP_BASE_PATH', TEST_BASE_PATH.'../');
define('APP_BASE_PATH', TEST_BASE_PATH.'../core/');
define('CLIENT_BASE_PATH', TEST_BASE_PATH.'../../deployment/clients/test/');
define('BASE_URL', 'http://app.app.dev/');
define('CLIENT_BASE_URL', 'http://clients.app.dev/dev/');
} else {
//Tests running on deploy
define('APP_BASE_PATH', realpath(dirname(__FILE__).'/../app')."/");
define('APP_BASE_PATH', realpath(dirname(__FILE__).'/../app')."/core/");
define('CLIENT_BASE_PATH', APP_BASE_PATH.'');
define('BASE_URL', 'http://apps.gamonoid.com/icehrmcore/');
define('CLIENT_BASE_URL', 'http://apps.gamonoid.com/icehrm/');