mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for tests
This commit is contained in:
parent
f1dcedebe2
commit
d0f181314c
@ -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));
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user