mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	Исправлена совместимость с codeception 2.3.4
Версия codeception зафиксирована
This commit is contained in:
		@@ -38,7 +38,7 @@
 | 
				
			|||||||
        "yiisoft/yii2-faker": "*",
 | 
					        "yiisoft/yii2-faker": "*",
 | 
				
			||||||
        "flow/jsonpath": "^0.3.1",
 | 
					        "flow/jsonpath": "^0.3.1",
 | 
				
			||||||
        "phpunit/phpunit": "^5.7",
 | 
					        "phpunit/phpunit": "^5.7",
 | 
				
			||||||
        "codeception/codeception": "~2.3",
 | 
					        "codeception/codeception": "2.3.4",
 | 
				
			||||||
        "codeception/specify": "*",
 | 
					        "codeception/specify": "*",
 | 
				
			||||||
        "codeception/verify": "*",
 | 
					        "codeception/verify": "*",
 | 
				
			||||||
        "phploc/phploc": "^3.0.1",
 | 
					        "phploc/phploc": "^3.0.1",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -13,6 +13,7 @@ modules:
 | 
				
			|||||||
        Yii2:
 | 
					        Yii2:
 | 
				
			||||||
            configFile: '../config/api/functional.php'
 | 
					            configFile: '../config/api/functional.php'
 | 
				
			||||||
            cleanup: true
 | 
					            cleanup: true
 | 
				
			||||||
 | 
					            transaction: false
 | 
				
			||||||
        Redis:
 | 
					        Redis:
 | 
				
			||||||
            host: "%REDIS_HOST%"
 | 
					            host: "%REDIS_HOST%"
 | 
				
			||||||
            port: 6379
 | 
					            port: 6379
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,3 +9,4 @@ modules:
 | 
				
			|||||||
        Yii2:
 | 
					        Yii2:
 | 
				
			||||||
            configFile: '../config/api/unit.php'
 | 
					            configFile: '../config/api/unit.php'
 | 
				
			||||||
            cleanup: true
 | 
					            cleanup: true
 | 
				
			||||||
 | 
					            transaction: false
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -10,6 +10,8 @@ use common\models\UsernameHistory;
 | 
				
			|||||||
use GuzzleHttp\ClientInterface;
 | 
					use GuzzleHttp\ClientInterface;
 | 
				
			||||||
use tests\codeception\api\unit\TestCase;
 | 
					use tests\codeception\api\unit\TestCase;
 | 
				
			||||||
use tests\codeception\common\fixtures\AccountFixture;
 | 
					use tests\codeception\common\fixtures\AccountFixture;
 | 
				
			||||||
 | 
					use tests\codeception\common\fixtures\EmailActivationFixture;
 | 
				
			||||||
 | 
					use tests\codeception\common\fixtures\UsernameHistoryFixture;
 | 
				
			||||||
use Yii;
 | 
					use Yii;
 | 
				
			||||||
use yii\web\Request;
 | 
					use yii\web\Request;
 | 
				
			||||||
use const common\LATEST_RULES_VERSION;
 | 
					use const common\LATEST_RULES_VERSION;
 | 
				
			||||||
@@ -30,6 +32,8 @@ class RegistrationFormTest extends TestCase {
 | 
				
			|||||||
    public function _fixtures() {
 | 
					    public function _fixtures() {
 | 
				
			||||||
        return [
 | 
					        return [
 | 
				
			||||||
            'accounts' => AccountFixture::class,
 | 
					            'accounts' => AccountFixture::class,
 | 
				
			||||||
 | 
					            'emailActivations' => EmailActivationFixture::class,
 | 
				
			||||||
 | 
					            'usernameHistory' => UsernameHistoryFixture::class,
 | 
				
			||||||
        ];
 | 
					        ];
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,3 +8,4 @@ modules:
 | 
				
			|||||||
        Yii2:
 | 
					        Yii2:
 | 
				
			||||||
            configFile: '../config/common/unit.php'
 | 
					            configFile: '../config/common/unit.php'
 | 
				
			||||||
            cleanup: true
 | 
					            cleanup: true
 | 
				
			||||||
 | 
					            transaction: false
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,3 +8,4 @@ modules:
 | 
				
			|||||||
        Yii2:
 | 
					        Yii2:
 | 
				
			||||||
            configFile: '../config/console/unit.php'
 | 
					            configFile: '../config/console/unit.php'
 | 
				
			||||||
            cleanup: true
 | 
					            cleanup: true
 | 
				
			||||||
 | 
					            transaction: false
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user