Исправлена совместимость с codeception 2.3.4

Версия codeception зафиксирована
This commit is contained in:
ErickSkrauch 2017-08-02 21:55:46 +03:00
parent 7ef672fffc
commit c8db2f4b3f
6 changed files with 9 additions and 1 deletions

View File

@ -38,7 +38,7 @@
"yiisoft/yii2-faker": "*",
"flow/jsonpath": "^0.3.1",
"phpunit/phpunit": "^5.7",
"codeception/codeception": "~2.3",
"codeception/codeception": "2.3.4",
"codeception/specify": "*",
"codeception/verify": "*",
"phploc/phploc": "^3.0.1",

View File

@ -13,6 +13,7 @@ modules:
Yii2:
configFile: '../config/api/functional.php'
cleanup: true
transaction: false
Redis:
host: "%REDIS_HOST%"
port: 6379

View File

@ -9,3 +9,4 @@ modules:
Yii2:
configFile: '../config/api/unit.php'
cleanup: true
transaction: false

View File

@ -10,6 +10,8 @@ use common\models\UsernameHistory;
use GuzzleHttp\ClientInterface;
use tests\codeception\api\unit\TestCase;
use tests\codeception\common\fixtures\AccountFixture;
use tests\codeception\common\fixtures\EmailActivationFixture;
use tests\codeception\common\fixtures\UsernameHistoryFixture;
use Yii;
use yii\web\Request;
use const common\LATEST_RULES_VERSION;
@ -30,6 +32,8 @@ class RegistrationFormTest extends TestCase {
public function _fixtures() {
return [
'accounts' => AccountFixture::class,
'emailActivations' => EmailActivationFixture::class,
'usernameHistory' => UsernameHistoryFixture::class,
];
}

View File

@ -8,3 +8,4 @@ modules:
Yii2:
configFile: '../config/common/unit.php'
cleanup: true
transaction: false

View File

@ -8,3 +8,4 @@ modules:
Yii2:
configFile: '../config/console/unit.php'
cleanup: true
transaction: false