Fixes for tests
This commit is contained in:
parent
f1dcedebe2
commit
d0f181314c
2 changed files with 1 additions and 4 deletions
|
|
@ -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));
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue