Add tests for card assignment notification

Signed-off-by: steav <steav8@gmail.com>
This commit is contained in:
steav
2018-07-25 23:20:09 +02:00
committed by Julius Härtl
parent 1276dddc37
commit fdc1f275c5
3 changed files with 105 additions and 1 deletions

View File

@@ -59,7 +59,7 @@ class CardServiceTest extends TestCase {
$this->notificationHelper = $this->createMock(NotificationHelper::class);
$this->assignedUsersMapper = $this->createMock(AssignedUsersMapper::class);
$this->attachmentService = $this->createMock(AttachmentService::class);
$this->cardService = new CardService($this->cardMapper, $this->stackMapper, $this->permissionService, $this->boardService, $this->notificationHelper, $this->assignedUsersMapper, $this->attachmentService);
$this->cardService = new CardService($this->cardMapper, $this->stackMapper, $this->permissionService, $this->boardService, $this->notificationHelper, $this->assignedUsersMapper, $this->attachmentService, 'userXY');
}
public function testFind() {