mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-02-22 02:42:18 +01:00
32 lines
767 B
PHP
32 lines
767 B
PHP
<?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\Bus\Events\Subscriber;
|
|
|
|
use CachetHQ\Cachet\Bus\Events\Subscriber\SubscriberHasVerifiedEvent;
|
|
use CachetHQ\Cachet\Models\Subscriber;
|
|
|
|
class SubscriberHasVerifiedEventTest extends AbstractSubscriberEventTestCase
|
|
{
|
|
protected function objectHasHandlers()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
protected function getObjectAndParams()
|
|
{
|
|
$params = ['subscriber' => new Subscriber()];
|
|
$object = new SubscriberHasVerifiedEvent($params['subscriber']);
|
|
|
|
return compact('params', 'object');
|
|
}
|
|
}
|