Switched to Codeception 2.0.* for application template tests

This commit is contained in:
Alexander Makarov 2014-07-02 14:44:31 +03:00
parent d9385653f5
commit 0c8c520cbb
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@
"yiisoft/yii2-gii": "*" "yiisoft/yii2-gii": "*"
}, },
"suggest": { "suggest": {
"codeception/codeception": "Codeception, 1.8.*@dev is currently works well with Yii.", "codeception/codeception": "Codeception, 2.0.* is currently works well with Yii.",
"codeception/specify": "BDD style code blocks for PHPUnit and Codeception", "codeception/specify": "BDD style code blocks for PHPUnit and Codeception",
"codeception/verify": "BDD Assertions for PHPUnit and Codeception" "codeception/verify": "BDD Assertions for PHPUnit and Codeception"
}, },

View File

@ -6,7 +6,7 @@ After creating the basic application, follow these steps to prepare for the test
1. Install additional composer packages: 1. Install additional composer packages:
``` ```
php composer.phar require --dev "codeception/codeception: 1.8.*@dev" "codeception/specify: *" "codeception/verify: *" php composer.phar require --dev "codeception/codeception: 2.0.*" "codeception/specify: *" "codeception/verify: *"
``` ```
2. In the file `_bootstrap.php`, modify the definition of the constant `TEST_ENTRY_URL` so 2. In the file `_bootstrap.php`, modify the definition of the constant `TEST_ENTRY_URL` so
that it points to the correct entry script URL. that it points to the correct entry script URL.