More test fixes
This commit is contained in:
@@ -32,7 +32,7 @@ class IncidentWasReportedEventTest extends AbstractIncidentEventTestCase
|
||||
'incident' => new Incident(),
|
||||
'notify' => true,
|
||||
];
|
||||
$object = new IncidentWasReportedEvent($params['incident']);
|
||||
$object = new IncidentWasReportedEvent($params['incident'], $params['notify']);
|
||||
|
||||
return compact('params', 'object');
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ class ScheduleWasCreatedEventTest extends AbstractScheduleEventTestCase
|
||||
{
|
||||
protected function objectHasHandlers()
|
||||
{
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
protected function getObjectAndParams()
|
||||
|
||||
@@ -18,7 +18,7 @@ class SubscriberHasSubscribedEventTest extends AbstractSubscriberEventTestCase
|
||||
{
|
||||
protected function objectHasHandlers()
|
||||
{
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
protected function getObjectAndParams()
|
||||
|
||||
@@ -23,7 +23,7 @@ class UserWasInvitedEventTest extends AbstractUserEventTestCase
|
||||
{
|
||||
protected function objectHasHandlers()
|
||||
{
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
protected function getObjectAndParams()
|
||||
|
||||
Reference in New Issue
Block a user