Trying to make tests not fail for random reasons?

This commit is contained in:
Dane Everitt 2017-10-09 00:02:33 -05:00
parent e01d7497f5
commit b602ea1f66
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -162,7 +162,7 @@ class RunTaskJob extends Job implements ShouldQueue
$repository = app()->make(ScheduleRepositoryInterface::class);
$repository->withoutFresh()->update($this->schedule, [
'is_processing' => false,
'last_run_at' => app()->make(Carbon::class)->now()->toDateTimeString(),
'last_run_at' => Carbon::now()->toDateTimeString(),
]);
}