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

@@ -141,7 +141,7 @@ class AppServiceProvider extends ServiceProvider
[DispatchGuestNotificationPush::class, 'handle']
);
if ($this->app->environment(['local', 'testing'])) {
if (config('e2e.testing_enabled')) {
EventFacade::listen(
MessageSent::class,
[Mailbox::class, 'record']