More test fixes

This commit is contained in:
James Brooks
2017-01-04 21:21:57 +00:00
parent 1e9161cdaf
commit 7269dd1523
4 changed files with 4 additions and 4 deletions
@@ -32,7 +32,7 @@ class IncidentWasReportedEventTest extends AbstractIncidentEventTestCase
'incident' => new Incident(), 'incident' => new Incident(),
'notify' => true, 'notify' => true,
]; ];
$object = new IncidentWasReportedEvent($params['incident']); $object = new IncidentWasReportedEvent($params['incident'], $params['notify']);
return compact('params', 'object'); return compact('params', 'object');
} }
@@ -18,7 +18,7 @@ class ScheduleWasCreatedEventTest extends AbstractScheduleEventTestCase
{ {
protected function objectHasHandlers() protected function objectHasHandlers()
{ {
return false; return true;
} }
protected function getObjectAndParams() protected function getObjectAndParams()
@@ -18,7 +18,7 @@ class SubscriberHasSubscribedEventTest extends AbstractSubscriberEventTestCase
{ {
protected function objectHasHandlers() protected function objectHasHandlers()
{ {
return true; return false;
} }
protected function getObjectAndParams() protected function getObjectAndParams()
@@ -23,7 +23,7 @@ class UserWasInvitedEventTest extends AbstractUserEventTestCase
{ {
protected function objectHasHandlers() protected function objectHasHandlers()
{ {
return true; return false;
} }
protected function getObjectAndParams() protected function getObjectAndParams()