Gate testing API for staging E2E
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-01-03 15:00:33 +01:00
parent 030a00ba46
commit 7ea34b3b20
17 changed files with 94 additions and 22 deletions

View File

@@ -20,7 +20,7 @@ class TestGuestEventController extends Controller
{
public function store(Request $request, EventJoinTokenService $joinTokens): JsonResponse
{
abort_unless(app()->environment(['local', 'testing']), 404);
abort_unless(config('e2e.testing_enabled'), 404);
$validated = $request->validate([
'slug' => ['nullable', 'string', 'max:100'],