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

View File

@@ -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');
}

View File

@@ -18,7 +18,7 @@ class ScheduleWasCreatedEventTest extends AbstractScheduleEventTestCase
{
protected function objectHasHandlers()
{
return false;
return true;
}
protected function getObjectAndParams()

View File

@@ -18,7 +18,7 @@ class SubscriberHasSubscribedEventTest extends AbstractSubscriberEventTestCase
{
protected function objectHasHandlers()
{
return true;
return false;
}
protected function getObjectAndParams()

View File

@@ -23,7 +23,7 @@ class UserWasInvitedEventTest extends AbstractUserEventTestCase
{
protected function objectHasHandlers()
{
return true;
return false;
}
protected function getObjectAndParams()