mirror of
https://github.com/elyby/accounts.git
synced 2024-11-30 02:32:26 +05:30
Исправлена совместимость с codeception 2.3.4
Версия codeception зафиксирована
This commit is contained in:
parent
7ef672fffc
commit
c8db2f4b3f
@ -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",
|
||||
|
@ -13,6 +13,7 @@ modules:
|
||||
Yii2:
|
||||
configFile: '../config/api/functional.php'
|
||||
cleanup: true
|
||||
transaction: false
|
||||
Redis:
|
||||
host: "%REDIS_HOST%"
|
||||
port: 6379
|
||||
|
@ -9,3 +9,4 @@ modules:
|
||||
Yii2:
|
||||
configFile: '../config/api/unit.php'
|
||||
cleanup: true
|
||||
transaction: false
|
||||
|
@ -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,
|
||||
];
|
||||
}
|
||||
|
||||
|
@ -8,3 +8,4 @@ modules:
|
||||
Yii2:
|
||||
configFile: '../config/common/unit.php'
|
||||
cleanup: true
|
||||
transaction: false
|
||||
|
@ -8,3 +8,4 @@ modules:
|
||||
Yii2:
|
||||
configFile: '../config/console/unit.php'
|
||||
cleanup: true
|
||||
transaction: false
|
||||
|
Loading…
Reference in New Issue
Block a user