Fixes for tests

This commit is contained in:
David Bomba 2023-01-18 19:24:43 +11:00
parent f1dcedebe2
commit d0f181314c
2 changed files with 1 additions and 4 deletions

View File

@ -37,7 +37,7 @@ class SendEmail
$contact = $this->payment->client->contacts()->first(); $contact = $this->payment->client->contacts()->first();
if ($contact?->email) 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));
} }
} }

View File

@ -31,7 +31,6 @@ use Tests\TestCase;
class AccountEmailQuotaTest extends TestCase class AccountEmailQuotaTest extends TestCase
{ {
use DatabaseTransactions;
use AppSetup; use AppSetup;
use MockAccountData; use MockAccountData;
@ -39,8 +38,6 @@ class AccountEmailQuotaTest extends TestCase
{ {
parent::setUp(); parent::setUp();
$this->faker = Factory::create();
$this->buildCache(true);
$this->makeTestData(); $this->makeTestData();
} }