mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on tests
This commit is contained in:
parent
3fa08417e0
commit
ecc6fd5bfd
@ -371,8 +371,8 @@ class CheckData extends Command
|
|||||||
|
|
||||||
private function checkFailedJobs()
|
private function checkFailedJobs()
|
||||||
{
|
{
|
||||||
$current = config('database.default');
|
//$current = config('database.default');
|
||||||
config(['database.default' => env('QUEUE_DATABASE')]);
|
//config(['database.default' => env('QUEUE_DATABASE')]);
|
||||||
|
|
||||||
$count = DB::table('failed_jobs')->count();
|
$count = DB::table('failed_jobs')->count();
|
||||||
|
|
||||||
@ -382,7 +382,7 @@ class CheckData extends Command
|
|||||||
|
|
||||||
$this->logMessage($count . ' failed jobs');
|
$this->logMessage($count . ' failed jobs');
|
||||||
|
|
||||||
config(['database.default' => $current]);
|
//config(['database.default' => $current]);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function checkBlankInvoiceHistory()
|
private function checkBlankInvoiceHistory()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user