mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-16 03:28:56 +08:00
Fix local test execution tools (#20627)
This commit is contained in:
@@ -23,9 +23,9 @@ require_once __DIR__ . '/../framework/Yii.php';
|
||||
|
||||
Yii::setAlias('@yiiunit', __DIR__);
|
||||
|
||||
if (getenv('TEST_RUNTIME_PATH')) {
|
||||
Yii::setAlias('@yiiunit/runtime', getenv('TEST_RUNTIME_PATH'));
|
||||
Yii::setAlias('@runtime', getenv('TEST_RUNTIME_PATH'));
|
||||
if (getenv('IS_LOCAL_TESTS')) {
|
||||
Yii::setAlias('@yiiunit/runtime', '/tmp/runtime');
|
||||
Yii::setAlias('@runtime', '/tmp/runtime');
|
||||
}
|
||||
|
||||
require_once __DIR__ . '/TestCase.php';
|
||||
|
||||
Reference in New Issue
Block a user