Fixed paths in tests/bin/yii. Fixed typo in docs. (#76)
This commit is contained in:
parent
67713f562d
commit
c0ec50d6a5
@ -142,7 +142,7 @@ To execute acceptance tests do the following:
|
|||||||
4. Download [Selenium Server](http://www.seleniumhq.org/download/) and launch it:
|
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.
|
5. (Optional) Create `yii2_basic_tests` database and update it by applying migrations if you have them.
|
||||||
|
@ -11,14 +11,14 @@
|
|||||||
defined('YII_DEBUG') or define('YII_DEBUG', true);
|
defined('YII_DEBUG') or define('YII_DEBUG', true);
|
||||||
defined('YII_ENV') or define('YII_ENV', 'test');
|
defined('YII_ENV') or define('YII_ENV', 'test');
|
||||||
|
|
||||||
require(__DIR__ . '/vendor/autoload.php');
|
require(__DIR__ . '/../../vendor/autoload.php');
|
||||||
require(__DIR__ . '/vendor/yiisoft/yii2/Yii.php');
|
require(__DIR__ . '/../../vendor/yiisoft/yii2/Yii.php');
|
||||||
|
|
||||||
$config = yii\helpers\ArrayHelper::merge(
|
$config = yii\helpers\ArrayHelper::merge(
|
||||||
require(__DIR__ . '/config/console.php'),
|
require(__DIR__ . '/../../config/console.php'),
|
||||||
[
|
[
|
||||||
'components' => [
|
'components' => [
|
||||||
'db' => require(__DIR__ . '/config/test_db.php')
|
'db' => require(__DIR__ . '/../../config/test_db.php')
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user