Gate testing API for staging E2E
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user