Files
cachet-docker/tests/Events/User/UserWasAddedEventTest.php
2015-09-14 08:47:51 +01:00

27 lines
614 B
PHP

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