mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 04:54:34 -04:00
Fixes for tests
This commit is contained in:
parent
bc0690fafc
commit
1edb890b7f
@ -37,6 +37,8 @@ class ClientMergeTest extends TestCase
|
|||||||
|
|
||||||
private $primary_contact;
|
private $primary_contact;
|
||||||
|
|
||||||
|
public $faker;
|
||||||
|
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
@ -19,6 +19,7 @@ use App\Models\Company;
|
|||||||
use App\Models\Invoice;
|
use App\Models\Invoice;
|
||||||
use App\Models\User;
|
use App\Models\User;
|
||||||
use App\Services\Report\ARDetailReport;
|
use App\Services\Report\ARDetailReport;
|
||||||
|
use App\Utils\Traits\AppSetup;
|
||||||
use App\Utils\Traits\MakesHash;
|
use App\Utils\Traits\MakesHash;
|
||||||
use Illuminate\Routing\Middleware\ThrottleRequests;
|
use Illuminate\Routing\Middleware\ThrottleRequests;
|
||||||
use Tests\MockAccountData;
|
use Tests\MockAccountData;
|
||||||
@ -30,6 +31,7 @@ use Tests\TestCase;
|
|||||||
class ArDetailReportTest extends TestCase
|
class ArDetailReportTest extends TestCase
|
||||||
{
|
{
|
||||||
use MakesHash;
|
use MakesHash;
|
||||||
|
use AppSetup;
|
||||||
|
|
||||||
public $faker;
|
public $faker;
|
||||||
|
|
||||||
@ -44,6 +46,8 @@ class ArDetailReportTest extends TestCase
|
|||||||
);
|
);
|
||||||
|
|
||||||
$this->withoutExceptionHandling();
|
$this->withoutExceptionHandling();
|
||||||
|
|
||||||
|
$this->buildCache(true);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -132,7 +136,6 @@ class ArDetailReportTest extends TestCase
|
|||||||
{
|
{
|
||||||
$this->buildData();
|
$this->buildData();
|
||||||
|
|
||||||
|
|
||||||
$this->payload = [
|
$this->payload = [
|
||||||
'start_date' => '2000-01-01',
|
'start_date' => '2000-01-01',
|
||||||
'end_date' => '2030-01-11',
|
'end_date' => '2030-01-11',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user