@@ -23,7 +23,6 @@
|
||||
|
||||
namespace OCA\Deck\Notification;
|
||||
|
||||
|
||||
use OCA\Deck\Db\Acl;
|
||||
use OCA\Deck\Db\Board;
|
||||
use OCA\Deck\Db\BoardMapper;
|
||||
@@ -71,7 +70,6 @@ class NotificationHelperTest extends \Test\TestCase {
|
||||
$this->groupManager,
|
||||
$this->currentUser
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
public function testSendCardDuedateAlreadyNotified() {
|
||||
@@ -101,7 +99,7 @@ class NotificationHelperTest extends \Test\TestCase {
|
||||
->method('__call')
|
||||
->with('getId', [])
|
||||
->willReturn(123);
|
||||
for($i=0; $i<3; $i++) {
|
||||
for ($i=0; $i<3; $i++) {
|
||||
$card->expects($this->at($i*3+2))
|
||||
->method('__call')
|
||||
->with('getId', [])
|
||||
@@ -351,6 +349,4 @@ class NotificationHelperTest extends \Test\TestCase {
|
||||
|
||||
$this->notificationHelper->sendMention($comment);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -31,9 +31,6 @@ use OCP\IUser;
|
||||
use OCP\IUserManager;
|
||||
use OCP\L10N\IFactory;
|
||||
use OCP\Notification\INotification;
|
||||
use OCP\Notification\INotifier;
|
||||
use OCP\RichObjectStrings\Definitions;
|
||||
|
||||
|
||||
class NotifierTest extends \Test\TestCase {
|
||||
|
||||
@@ -124,7 +121,6 @@ class NotifierTest extends \Test\TestCase {
|
||||
$actualNotification = $this->notifier->prepare($notification, 'en_US');
|
||||
|
||||
$this->assertEquals($notification, $actualNotification);
|
||||
|
||||
}
|
||||
|
||||
public function testPrepareCardCommentMentioned() {
|
||||
@@ -171,7 +167,6 @@ class NotifierTest extends \Test\TestCase {
|
||||
$actualNotification = $this->notifier->prepare($notification, 'en_US');
|
||||
|
||||
$this->assertEquals($notification, $actualNotification);
|
||||
|
||||
}
|
||||
|
||||
public function dataPrepareCardAssigned() {
|
||||
@@ -313,5 +308,4 @@ class NotifierTest extends \Test\TestCase {
|
||||
|
||||
$this->assertEquals($notification, $actualNotification);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user