diff --git a/app/Services/Payment/SendEmail.php b/app/Services/Payment/SendEmail.php index d9f6907a2610..828023381385 100644 --- a/app/Services/Payment/SendEmail.php +++ b/app/Services/Payment/SendEmail.php @@ -37,7 +37,7 @@ class SendEmail $contact = $this->payment->client->contacts()->first(); if ($contact?->email) - EmailPayment::dispatch($this->payment, $this->payment->company, $contact)->delay(now()->addSeconds(3)); + EmailPayment::dispatch($this->payment, $this->payment->company, $contact)->delay(now()->addSeconds(8)); } } diff --git a/tests/Feature/Account/AccountEmailQuotaTest.php b/tests/Feature/Account/AccountEmailQuotaTest.php index ddd4dfaa298a..3a6181ca4c7d 100644 --- a/tests/Feature/Account/AccountEmailQuotaTest.php +++ b/tests/Feature/Account/AccountEmailQuotaTest.php @@ -31,7 +31,6 @@ use Tests\TestCase; class AccountEmailQuotaTest extends TestCase { - use DatabaseTransactions; use AppSetup; use MockAccountData; @@ -39,8 +38,6 @@ class AccountEmailQuotaTest extends TestCase { parent::setUp(); - $this->faker = Factory::create(); - $this->buildCache(true); $this->makeTestData(); }