From 3700f1485fa89bdca60e4cb0241bf02f721986bd Mon Sep 17 00:00:00 2001 From: Davide Bellini Date: Fri, 7 Oct 2016 18:53:19 +0200 Subject: [PATCH] Fixed incident update (#2151) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … and now tests are green :) --- .../IncidentUpdate/ReportIncidentUpdateCommandHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Bus/Handlers/Commands/IncidentUpdate/ReportIncidentUpdateCommandHandler.php b/app/Bus/Handlers/Commands/IncidentUpdate/ReportIncidentUpdateCommandHandler.php index dd33c73e..c0c22ea8 100644 --- a/app/Bus/Handlers/Commands/IncidentUpdate/ReportIncidentUpdateCommandHandler.php +++ b/app/Bus/Handlers/Commands/IncidentUpdate/ReportIncidentUpdateCommandHandler.php @@ -44,7 +44,7 @@ class ReportIncidentUpdateCommandHandler // Update the original incident with the new status. dispatch(new UpdateIncidentCommand( - $incident, + $command->incident, null, $command->status, null,