Fixes for tests
This commit is contained in:
parent
1797cac1a9
commit
306838c417
3 changed files with 3 additions and 2 deletions
|
|
@ -12,6 +12,7 @@
|
|||
namespace App\Mail;
|
||||
|
||||
use App\Models\Client;
|
||||
use App\Models\ClientContact;
|
||||
use App\Models\User;
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Mail\Mailable;
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ class CompanyLedgerTest extends TestCase
|
|||
|
||||
$this->withoutExceptionHandling();
|
||||
|
||||
$this->artisan('db:seed');
|
||||
$this->artisan('db:seed --force');
|
||||
|
||||
/* Warm up the cache !*/
|
||||
$cached_tables = config('ninja.cached_tables');
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ trait MockAccountData
|
|||
/* Warm up the cache !*/
|
||||
$cached_tables = config('ninja.cached_tables');
|
||||
|
||||
$this->artisan('db:seed');
|
||||
$this->artisan('db:seed --force');
|
||||
|
||||
foreach ($cached_tables as $name => $class) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue