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