Started work on Events tests

This commit is contained in:
James Brooks
2015-09-14 08:47:51 +01:00
parent b0ec13fa13
commit 687b46389d
7 changed files with 193 additions and 2 deletions
@@ -0,0 +1,26 @@
<?php
/*
* This file is part of CachetHQ.
*
* (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\User;
use CachetHQ\Cachet\Events\User\UserWasAddedEvent;
use CachetHQ\Cachet\Models\User;
class UserWasAddedEventTest extends AbstractUserEventTestCase
{
protected function getObjectAndParams()
{
$params = ['user' => new User()];
$object = new UserWasAddedEvent($params['user']);
return compact('params', 'object');
}
}