* Add test call to test notification #675 * Fix queue driver with emails not sending; formatting #675
This commit is contained in:
@@ -10,6 +10,8 @@ class UserPending extends BaseNotification
|
||||
{
|
||||
use MailChannel;
|
||||
|
||||
public $channels = ['mail'];
|
||||
|
||||
private $user;
|
||||
|
||||
/**
|
||||
@@ -17,6 +19,8 @@ class UserPending extends BaseNotification
|
||||
*/
|
||||
public function __construct(User $user)
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
$this->user = $user;
|
||||
|
||||
$this->setMailable(
|
||||
|
||||
Reference in New Issue
Block a user