Browse Source

fixed vendor path in tests

tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
e1fe5115cd
  1. 2
      tests/unit/VendorTestCase.php

2
tests/unit/VendorTestCase.php

@ -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)) {

Loading…
Cancel
Save