mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	Подрефакторена форма отправки нового письма с активацией аккаунта, дописаны юнит и функциональные тесты
This commit is contained in:
		@@ -38,5 +38,18 @@ return [
 | 
			
		||||
        'status' => \common\models\Account::STATUS_REGISTERED,
 | 
			
		||||
        'created_at' => 1453146616,
 | 
			
		||||
        'updated_at' => 1453146616,
 | 
			
		||||
    ]
 | 
			
		||||
    ],
 | 
			
		||||
    'not-activated-account-with-expired-message' => [
 | 
			
		||||
        'id' => 4,
 | 
			
		||||
        'uuid' => '58a7bfdc-ad0f-44c3-9197-759cb9220895',
 | 
			
		||||
        'username' => 'Jon',
 | 
			
		||||
        'email' => 'jon@ely.by',
 | 
			
		||||
        'password_hash' => '$2y$13$2rYkap5T6jG8z/mMK8a3Ou6aZxJcmAaTha6FEuujvHEmybSHRzW5e', # password_0
 | 
			
		||||
        'password_hash_strategy' => \common\models\Account::PASS_HASH_STRATEGY_YII2,
 | 
			
		||||
        'password_reset_token' => null,
 | 
			
		||||
        'auth_key' => '45DsaEQ7U8lU9umIyCWk5iCnpdPvZ8Up',
 | 
			
		||||
        'status' => \common\models\Account::STATUS_REGISTERED,
 | 
			
		||||
        'created_at' => 1457890086,
 | 
			
		||||
        'updated_at' => 1457890086,
 | 
			
		||||
    ],
 | 
			
		||||
];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user