Expect events for auto-verifying subscribers
This commit is contained in:
@@ -55,6 +55,8 @@ class SubscriberTest extends AbstractApiTestCase
|
|||||||
{
|
{
|
||||||
$this->beUser();
|
$this->beUser();
|
||||||
|
|
||||||
|
$this->expectsEvents('CachetHQ\Cachet\Bus\Events\Subscriber\SubscriberHasSubscribedEvent');
|
||||||
|
|
||||||
$this->post('/api/v1/subscribers', [
|
$this->post('/api/v1/subscribers', [
|
||||||
'email' => 'support@alt-three.com',
|
'email' => 'support@alt-three.com',
|
||||||
'verify' => true,
|
'verify' => true,
|
||||||
|
|||||||
Reference in New Issue
Block a user