Gate testing API for staging E2E
This commit is contained in:
@@ -14,7 +14,7 @@ class Mailbox
|
||||
|
||||
public static function record(MessageSent $event): void
|
||||
{
|
||||
if (! app()->environment(['local', 'testing'])) {
|
||||
if (! config('e2e.testing_enabled')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user