Skip to content

Commit

Permalink
fixed tests bootstrap config
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Jan 25, 2017
1 parent 1584a18 commit b1c36a2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/_bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
require_once __DIR__ . '/../vendor/autoload.php';
require_once __DIR__ . '/../vendor/yiisoft/yii2/Yii.php';

Yii::$app = new \yii\console\Application(array_merge([
'id' => 'hiart',
use hiqdev\composer\config\Builder;
use yii\console\Application;

Yii::$app = new Application(array_merge([
'id' => 'hiart-tests',
'basePath' => __DIR__,
], require \hiqdev\composer\config\Builder::path('common')));
], require Builder::path('hidev')));

0 comments on commit b1c36a2

Please sign in to comment.