mirror of
https://github.com/elyby/accounts.git
synced 2024-12-13 00:49:08 +05:30
ecd92b8fda
Обновлена минимальная версия Yii2 Удалено немного хлама от Yii2 Advanced Исправлены некоторые тесты
79 lines
3.3 KiB
PHP
79 lines
3.3 KiB
PHP
<?php
|
|
return [
|
|
'admin' => [
|
|
'id' => 1,
|
|
'uuid' => 'df936908-b2e1-544d-96f8-2977ec213022',
|
|
'username' => 'Admin',
|
|
'email' => 'admin@ely.by',
|
|
'password_hash' => '$2y$13$CXT0Rkle1EMJ/c1l5bylL.EylfmQ39O5JlHJVFpNn618OUS1HwaIi', # password_0
|
|
'password_hash_strategy' => \common\models\Account::PASS_HASH_STRATEGY_YII2,
|
|
'lang' => 'en',
|
|
'status' => \common\models\Account::STATUS_ACTIVE,
|
|
'created_at' => 1451775316,
|
|
'updated_at' => 1451775316,
|
|
'password_changed_at' => 1451775316,
|
|
],
|
|
'user-with-old-password-type' => [
|
|
'id' => 2,
|
|
'uuid' => 'bdc239f0-8a22-518d-8b93-f02d4827c3eb',
|
|
'username' => 'AccWithOldPassword',
|
|
'email' => 'erickskrauch123@yandex.ru',
|
|
'password_hash' => '133c00c463cbd3e491c28cb653ce4718', # 12345678
|
|
'password_hash_strategy' => \common\models\Account::PASS_HASH_STRATEGY_OLD_ELY,
|
|
'lang' => 'en',
|
|
'status' => \common\models\Account::STATUS_ACTIVE,
|
|
'created_at' => 1385225069,
|
|
'updated_at' => 1385225069,
|
|
'password_changed_at' => 1385225069,
|
|
],
|
|
'not-activated-account' => [
|
|
'id' => 3,
|
|
'uuid' => '86c6fedb-bffc-37a5-8c0f-62e8fa9a2af7',
|
|
'username' => 'howe.garnett',
|
|
'email' => 'achristiansen@gmail.com',
|
|
'password_hash' => '$2y$13$2rYkap5T6jG8z/mMK8a3Ou6aZxJcmAaTha6FEuujvHEmybSHRzW5e', # password_0
|
|
'password_hash_strategy' => \common\models\Account::PASS_HASH_STRATEGY_YII2,
|
|
'lang' => 'en',
|
|
'status' => \common\models\Account::STATUS_REGISTERED,
|
|
'created_at' => 1453146616,
|
|
'updated_at' => 1453146616,
|
|
'password_changed_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,
|
|
'lang' => 'en',
|
|
'status' => \common\models\Account::STATUS_REGISTERED,
|
|
'created_at' => 1457890086,
|
|
'updated_at' => 1457890086,
|
|
],
|
|
'account-with-fresh-forgot-password-message' => [
|
|
'id' => 5,
|
|
'uuid' => '4aaf4f00-3b5b-4d36-9252-9e8ee0c86679',
|
|
'username' => 'Notch',
|
|
'email' => 'notch@mojang.com',
|
|
'password_hash' => '$2y$13$2rYkap5T6jG8z/mMK8a3Ou6aZxJcmAaTha6FEuujvHEmybSHRzW5e', # password_0
|
|
'password_hash_strategy' => \common\models\Account::PASS_HASH_STRATEGY_YII2,
|
|
'lang' => 'en',
|
|
'status' => \common\models\Account::STATUS_ACTIVE,
|
|
'created_at' => 1462891432,
|
|
'updated_at' => 1462891432,
|
|
],
|
|
'account-with-expired-forgot-password-message' => [
|
|
'id' => 6,
|
|
'uuid' => '26187ae7-bc96-421f-9766-6517f8ee52b7',
|
|
'username' => '23derevo',
|
|
'email' => '23derevo@gmail.com',
|
|
'password_hash' => '$2y$13$2rYkap5T6jG8z/mMK8a3Ou6aZxJcmAaTha6FEuujvHEmybSHRzW5e', # password_0
|
|
'password_hash_strategy' => \common\models\Account::PASS_HASH_STRATEGY_YII2,
|
|
'lang' => 'en',
|
|
'status' => \common\models\Account::STATUS_ACTIVE,
|
|
'created_at' => 1462891612,
|
|
'updated_at' => 1462891612,
|
|
],
|
|
];
|