Commit e1fe5115 by Carsten Brandt

fixed vendor path in tests

parent 28657118
...@@ -18,7 +18,7 @@ class VendorTestCase extends TestCase ...@@ -18,7 +18,7 @@ class VendorTestCase extends TestCase
*/ */
public static function setUpBeforeClass() public static function setUpBeforeClass()
{ {
$vendorDir = __DIR__ . '/vendor'; $vendorDir = __DIR__ . '/../../vendor';
Yii::setAlias('@vendor', $vendorDir); Yii::setAlias('@vendor', $vendorDir);
$vendorAutoload = $vendorDir . '/autoload.php'; $vendorAutoload = $vendorDir . '/autoload.php';
if (file_exists($vendorAutoload)) { if (file_exists($vendorAutoload)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment