feat: 添加E2E测试环境配置支持
Some checks failed
lotterLaravel CI / test (push) Has been cancelled

添加LOTTERY_E2E环境变量来控制E2E测试相关功能,
包括绕过验证码、登录限制和钱包API URL验证,
同时更新composer.json以包含E2E专用的提供者和服务。
This commit is contained in:
2026-06-18 14:42:22 +08:00
parent 6b2ea39ea1
commit 6ec9634704
45 changed files with 3702 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ use App\Support\SuperAdminAccount;
/**
* 后台 RBAC平台固定角色 super_admin / agent。
*
* 演示账号 **admin** / **123456**(仅限非 production
* 演示账号 **admin** / **12345678**(仅限非 production
*/
final class AdminRbacAndUserSeeder extends Seeder
{
@@ -29,7 +29,7 @@ final class AdminRbacAndUserSeeder extends Seeder
[
'name' => '超级管理员',
'email' => null,
'password' => '123456',
'password' => '12345678',
'status' => 0,
],
);