|
@@ -2,14 +2,14 @@
|
|
|
|
|
|
|
|
// the entry script URL (without host info) for functional and acceptance tests
|
|
// the entry script URL (without host info) for functional and acceptance tests
|
|
|
// PLEASE ADJUST IT TO THE ACTUAL ENTRY SCRIPT URL
|
|
// PLEASE ADJUST IT TO THE ACTUAL ENTRY SCRIPT URL
|
|
|
-defined('TEST_ENTRY_URL') ?: define('TEST_ENTRY_URL', '/basic/web/index-test.php');
|
|
|
|
|
|
|
+defined('TEST_ENTRY_URL') or define('TEST_ENTRY_URL', '/basic/web/index-test.php');
|
|
|
|
|
|
|
|
// the entry script file path for functional and acceptance tests
|
|
// the entry script file path for functional and acceptance tests
|
|
|
-defined('TEST_ENTRY_FILE') ?: define('TEST_ENTRY_FILE', dirname(__DIR__) . '/web/index-test.php');
|
|
|
|
|
|
|
+defined('TEST_ENTRY_FILE') or define('TEST_ENTRY_FILE', dirname(__DIR__) . '/web/index-test.php');
|
|
|
|
|
|
|
|
-defined('YII_DEBUG') ?: define('YII_DEBUG', true);
|
|
|
|
|
|
|
+defined('YII_DEBUG') or define('YII_DEBUG', true);
|
|
|
|
|
|
|
|
-defined('YII_ENV') ?: define('YII_ENV', 'test');
|
|
|
|
|
|
|
+defined('YII_ENV') or define('YII_ENV', 'test');
|
|
|
|
|
|
|
|
require_once(__DIR__ . '/../vendor/autoload.php');
|
|
require_once(__DIR__ . '/../vendor/autoload.php');
|
|
|
|
|
|