Do some code cleanup and call correct phpunit.

This commit is contained in:
James Cole
2020-07-31 12:12:54 +02:00
parent c3110a43da
commit 4b96558433
48 changed files with 53 additions and 11 deletions

View File

@@ -57,6 +57,7 @@ class Cron extends Command
{--date= : Set the date in YYYY-MM-DD to make Firefly III think that\'s the current date.}
';
/**
* @return int
*/
@@ -173,7 +174,7 @@ class Cron extends Command
// if not configured to do anything with telemetry, do nothing.
return;
}
$telemetry = new TelemetryCronJob;
$telemetry = new TelemetryCronjob;
$telemetry->setForce($force);
// set date in cron job: