Finish event tests

This commit is contained in:
James Brooks
2015-12-26 09:44:32 +00:00
parent 06962c6ded
commit 751859461b
5 changed files with 133 additions and 0 deletions
@@ -0,0 +1,31 @@
<?php
/*
* This file is part of Cachet.
*
* (c) Alt Three Services Limited
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace CachetHQ\Tests\Cachet\Events\Invite;
use CachetHQ\Cachet\Events\Invite\InviteWasClaimedEvent;
use CachetHQ\Cachet\Models\Invite;
class InviteWasClaimedEventTest extends AbstractInviteEventTestCase
{
protected function objectHasHandlers()
{
return false;
}
protected function getObjectAndParams()
{
$params = ['invite' => new Invite()];
$object = new InviteWasClaimedEvent($params['invite']);
return compact('params', 'object');
}
}