diff options
Diffstat (limited to 'tests/php/Chat/ChatManagerTest.php')
-rw-r--r-- | tests/php/Chat/ChatManagerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/php/Chat/ChatManagerTest.php b/tests/php/Chat/ChatManagerTest.php index 123d15982..ad6cbd7c4 100644 --- a/tests/php/Chat/ChatManagerTest.php +++ b/tests/php/Chat/ChatManagerTest.php @@ -369,8 +369,8 @@ class ChatManagerTest extends TestCase { ->willReturn(23); $this->commentsManager->expects($this->once()) - ->method('getNumberOfCommentsForObjectSinceComment') - ->with('chat', 23, 42, 'comment'); + ->method('getNumberOfCommentsWithVerbsForObjectSinceComment') + ->with('chat', 23, 42, ['comment', 'object_shared']); $this->chatManager->getUnreadCount($chat, 42); } |