diff --git a/README.md b/README.md index 7f813f8..6d1d9ae 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ To execute acceptance tests do the following: 4. Download [Selenium Server](http://www.seleniumhq.org/download/) and launch it: ``` - java -jar java -jar ~/selenium-server-standalone-x.xx.x.jar + java -jar ~/selenium-server-standalone-x.xx.x.jar ``` 5. (Optional) Create `yii2_basic_tests` database and update it by applying migrations if you have them. diff --git a/tests/bin/yii b/tests/bin/yii index d01f526..1e4f2cc 100755 --- a/tests/bin/yii +++ b/tests/bin/yii @@ -11,14 +11,14 @@ defined('YII_DEBUG') or define('YII_DEBUG', true); defined('YII_ENV') or define('YII_ENV', 'test'); -require(__DIR__ . '/vendor/autoload.php'); -require(__DIR__ . '/vendor/yiisoft/yii2/Yii.php'); +require(__DIR__ . '/../../vendor/autoload.php'); +require(__DIR__ . '/../../vendor/yiisoft/yii2/Yii.php'); $config = yii\helpers\ArrayHelper::merge( - require(__DIR__ . '/config/console.php'), + require(__DIR__ . '/../../config/console.php'), [ 'components' => [ - 'db' => require(__DIR__ . '/config/test_db.php') + 'db' => require(__DIR__ . '/../../config/test_db.php') ] ] );