Working on tests
This commit is contained in:
parent
3fa08417e0
commit
ecc6fd5bfd
1 changed files with 3 additions and 3 deletions
|
|
@ -371,8 +371,8 @@ class CheckData extends Command
|
|||
|
||||
private function checkFailedJobs()
|
||||
{
|
||||
$current = config('database.default');
|
||||
config(['database.default' => env('QUEUE_DATABASE')]);
|
||||
//$current = config('database.default');
|
||||
//config(['database.default' => env('QUEUE_DATABASE')]);
|
||||
|
||||
$count = DB::table('failed_jobs')->count();
|
||||
|
||||
|
|
@ -382,7 +382,7 @@ class CheckData extends Command
|
|||
|
||||
$this->logMessage($count . ' failed jobs');
|
||||
|
||||
config(['database.default' => $current]);
|
||||
//config(['database.default' => $current]);
|
||||
}
|
||||
|
||||
private function checkBlankInvoiceHistory()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue