Browse Source

fix unit test path alias setup

tags/2.1.1
Klimov Paul 7 years ago
parent
commit
0d5ad79a6d
  1. 2
      tests/bootstrap.php

2
tests/bootstrap.php

@ -12,4 +12,4 @@ require_once(__DIR__ . '/../vendor/autoload.php');
require_once(__DIR__ . '/../vendor/yiisoft/yii2/Yii.php'); require_once(__DIR__ . '/../vendor/yiisoft/yii2/Yii.php');
Yii::setAlias('@yiiunit/extensions/swiftmailer', __DIR__); Yii::setAlias('@yiiunit/extensions/swiftmailer', __DIR__);
Yii::setAlias('@yii/swiftmailer', dirname(__DIR__)); Yii::setAlias('@yii/swiftmailer', dirname(__DIR__) . '/src');
Loading…
Cancel
Save