feature: use md5

This commit is contained in:
antv
2026-07-06 14:00:07 +07:00
parent d8f0e48bf3
commit b1beed4ae6
4 changed files with 71 additions and 76 deletions
+14 -7
View File
@@ -28,7 +28,8 @@ class AdminUserListStatsTest extends TestCase
'msnv' => 1001,
'name' => 'User A',
'mail' => 'usera@example.com',
'pass' => bcrypt('password'),
'pass' => md5('password'),
'departments' => 1,
'role' => User::ROLE_MEMBER,
'status' => User::STATUS_ACTIVE,
'card' => 10,
@@ -40,7 +41,8 @@ class AdminUserListStatsTest extends TestCase
'msnv' => 1002,
'name' => 'User B',
'mail' => 'userb@example.com',
'pass' => bcrypt('password'),
'pass' => md5('password'),
'departments' => 1,
'role' => User::ROLE_MEMBER,
'status' => User::STATUS_ACTIVE,
'card' => 10,
@@ -106,7 +108,8 @@ class AdminUserListStatsTest extends TestCase
'msnv' => 1001,
'name' => 'User A',
'mail' => 'usera@example.com',
'pass' => bcrypt('password'),
'pass' => md5('password'),
'departments' => 1,
'role' => User::ROLE_MEMBER,
'status' => User::STATUS_ACTIVE,
'card' => 10,
@@ -162,7 +165,8 @@ class AdminUserListStatsTest extends TestCase
'msnv' => 2001,
'name' => 'DEV ALPHA',
'mail' => 'alpha@example.com',
'pass' => bcrypt('password'),
'pass' => md5('password'),
'departments' => 1,
'role' => User::ROLE_MEMBER,
'status' => User::STATUS_ACTIVE,
'card' => 10,
@@ -174,7 +178,8 @@ class AdminUserListStatsTest extends TestCase
'msnv' => 2002,
'name' => 'DEV BETA',
'mail' => 'beta@example.com',
'pass' => bcrypt('password'),
'pass' => md5('password'),
'departments' => 1,
'role' => User::ROLE_MEMBER,
'status' => User::STATUS_ACTIVE,
'card' => 10,
@@ -204,7 +209,8 @@ class AdminUserListStatsTest extends TestCase
'msnv' => 3001,
'name' => 'DEV ENABLED',
'mail' => 'enabled@example.com',
'pass' => bcrypt('password'),
'pass' => md5('password'),
'departments' => 1,
'role' => User::ROLE_MEMBER,
'status' => User::STATUS_ACTIVE,
'card' => 10,
@@ -216,7 +222,8 @@ class AdminUserListStatsTest extends TestCase
'msnv' => 3002,
'name' => 'DEV DISABLED',
'mail' => 'disabled@example.com',
'pass' => bcrypt('password'),
'pass' => md5('password'),
'departments' => 1,
'role' => User::ROLE_MEMBER,
'status' => User::STATUS_ACTIVE,
'card' => 10,