From b602ea1f661c3510b9dcbcf75d52b2f97e723772 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Mon, 9 Oct 2017 00:02:33 -0500 Subject: [PATCH] Trying to make tests not fail for random reasons? --- app/Jobs/Schedule/RunTaskJob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/Schedule/RunTaskJob.php b/app/Jobs/Schedule/RunTaskJob.php index 0e025740a..3f1b5195f 100644 --- a/app/Jobs/Schedule/RunTaskJob.php +++ b/app/Jobs/Schedule/RunTaskJob.php @@ -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(), ]); }