mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Cache building
This commit is contained in:
parent
704f9ff9c5
commit
ec96e761ca
@ -20,6 +20,7 @@ use App\Models\Company;
|
||||
use App\Models\Expense;
|
||||
use App\Models\Invoice;
|
||||
use App\Models\User;
|
||||
use App\Utils\Traits\AppSetup;
|
||||
use App\Utils\Traits\MakesHash;
|
||||
use Illuminate\Routing\Middleware\ThrottleRequests;
|
||||
use Tests\TestCase;
|
||||
@ -31,6 +32,7 @@ use Tests\TestCase;
|
||||
class ProductSalesReportTest extends TestCase
|
||||
{
|
||||
use MakesHash;
|
||||
use AppSetup;
|
||||
|
||||
public $faker;
|
||||
|
||||
@ -45,6 +47,8 @@ class ProductSalesReportTest extends TestCase
|
||||
);
|
||||
|
||||
$this->withoutExceptionHandling();
|
||||
|
||||
$this->buildCache(true);
|
||||
}
|
||||
|
||||
public $company;
|
||||
@ -132,7 +136,6 @@ class ProductSalesReportTest extends TestCase
|
||||
{
|
||||
$this->buildData();
|
||||
|
||||
|
||||
$this->payload = [
|
||||
'start_date' => '2000-01-01',
|
||||
'end_date' => '2030-01-11',
|
||||
|
Loading…
Reference in New Issue
Block a user