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
1797cac1a9
commit
306838c417
@ -12,6 +12,7 @@
|
|||||||
namespace App\Mail;
|
namespace App\Mail;
|
||||||
|
|
||||||
use App\Models\Client;
|
use App\Models\Client;
|
||||||
|
use App\Models\ClientContact;
|
||||||
use App\Models\User;
|
use App\Models\User;
|
||||||
use Illuminate\Bus\Queueable;
|
use Illuminate\Bus\Queueable;
|
||||||
use Illuminate\Mail\Mailable;
|
use Illuminate\Mail\Mailable;
|
||||||
|
@ -51,7 +51,7 @@ class CompanyLedgerTest extends TestCase
|
|||||||
|
|
||||||
$this->withoutExceptionHandling();
|
$this->withoutExceptionHandling();
|
||||||
|
|
||||||
$this->artisan('db:seed');
|
$this->artisan('db:seed --force');
|
||||||
|
|
||||||
/* Warm up the cache !*/
|
/* Warm up the cache !*/
|
||||||
$cached_tables = config('ninja.cached_tables');
|
$cached_tables = config('ninja.cached_tables');
|
||||||
|
@ -131,7 +131,7 @@ trait MockAccountData
|
|||||||
/* Warm up the cache !*/
|
/* Warm up the cache !*/
|
||||||
$cached_tables = config('ninja.cached_tables');
|
$cached_tables = config('ninja.cached_tables');
|
||||||
|
|
||||||
$this->artisan('db:seed');
|
$this->artisan('db:seed --force');
|
||||||
|
|
||||||
foreach ($cached_tables as $name => $class) {
|
foreach ($cached_tables as $name => $class) {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user