Add unit tests for comment handling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
|
||||
namespace OCA\Deck\Activity;
|
||||
|
||||
use OCA\Deck\Db\CardMapper;
|
||||
use OCA\Deck\Notification\NotificationHelper;
|
||||
use OCP\Comments\CommentsEvent;
|
||||
use \OCP\Comments\ICommentsEventHandler;
|
||||
@@ -32,12 +31,11 @@ class CommentEventHandler implements ICommentsEventHandler {
|
||||
|
||||
/** @var ActivityManager */
|
||||
private $activityManager;
|
||||
/** @var CardMapper */
|
||||
private $cardMapper;
|
||||
|
||||
/** @var NotificationHelper */
|
||||
private $notificationHelper;
|
||||
|
||||
public function __construct(ActivityManager $activityManager, NotificationHelper $notificationHelper, CardMapper $cardMapper) {
|
||||
$this->cardMapper = $cardMapper;
|
||||
public function __construct(ActivityManager $activityManager, NotificationHelper $notificationHelper) {
|
||||
$this->notificationHelper = $notificationHelper;
|
||||
$this->activityManager = $activityManager;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user