添加LOTTERY_E2E环境变量来控制E2E测试相关功能, 包括绕过验证码、登录限制和钱包API URL验证, 同时更新composer.json以包含E2E专用的提供者和服务。
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
<?php
|
||||
|
||||
use App\Providers\AppServiceProvider;
|
||||
use E2E\Providers\E2EServiceProvider;
|
||||
|
||||
return [
|
||||
AppServiceProvider::class,
|
||||
// E2E 专用:仅在 LOTTERY_E2E=true 时挂载 /api/v1/_e2e/* 路由
|
||||
E2EServiceProvider::class,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user