From c0ec50d6a53ba3ed91311438bf306db23dd8dd4a Mon Sep 17 00:00:00 2001 From: Dmitry Kulikov Date: Wed, 27 Jul 2016 09:05:48 +0000 Subject: [PATCH] Fixed paths in tests/bin/yii. Fixed typo in docs. (#76) --- README.md | 2 +- tests/bin/yii | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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') ] ] );