Update NotifierTest.php

Fixed tests
This commit is contained in:
rakekniven
2018-10-17 10:57:29 +02:00
committed by GitHub
parent 0a4a58cddc
commit 2a3b4a8e3b

View File

@@ -149,13 +149,13 @@ class NotifierTest extends \Test\TestCase {
$this->cardMapper->expects($this->once())
->method('findBoardId')
->willReturn(999);
$expectedMessage = 'admin has mentioned in a comment on "Card title".';
$expectedMessage = 'admin has mentioned you in a comment on "Card title".';
$notification->expects($this->once())
->method('setParsedSubject')
->with($expectedMessage);
$notification->expects($this->once())
->method('setRichSubject')
->with('{user} has mentioned in a comment on "Card title".');
->with('{user} has mentioned you in a comment on "Card title".');
$this->url->expects($this->once())