Skip to content

Commit b1c36a2

Browse files
committed
fixed tests bootstrap config
1 parent 1584a18 commit b1c36a2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tests/_bootstrap.php

+6-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
require_once __DIR__ . '/../vendor/autoload.php';
1414
require_once __DIR__ . '/../vendor/yiisoft/yii2/Yii.php';
1515

16-
Yii::$app = new \yii\console\Application(array_merge([
17-
'id' => 'hiart',
16+
use hiqdev\composer\config\Builder;
17+
use yii\console\Application;
18+
19+
Yii::$app = new Application(array_merge([
20+
'id' => 'hiart-tests',
1821
'basePath' => __DIR__,
19-
], require \hiqdev\composer\config\Builder::path('common')));
22+
], require Builder::path('hidev')));

0 commit comments

Comments
 (0)