summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/php/CapabilitiesTest.php1
-rw-r--r--tests/php/Chat/ChatManagerTest.php4
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/php/CapabilitiesTest.php b/tests/php/CapabilitiesTest.php
index 85f308372..adc197887 100644
--- a/tests/php/CapabilitiesTest.php
+++ b/tests/php/CapabilitiesTest.php
@@ -125,6 +125,7 @@ class CapabilitiesTest extends TestCase {
'recording-v1',
'chat-get-context',
'single-conversation-status',
+ 'chat-keep-notifications',
'message-expiration',
'reactions',
];
diff --git a/tests/php/Chat/ChatManagerTest.php b/tests/php/Chat/ChatManagerTest.php
index 5ae6955e5..e0f3c9dd7 100644
--- a/tests/php/Chat/ChatManagerTest.php
+++ b/tests/php/Chat/ChatManagerTest.php
@@ -347,7 +347,7 @@ class ChatManagerTest extends TestCase {
->method('getUID')
->willReturn('userId');
- $comments = $this->chatManager->waitForNewMessages($chat, $offset, $limit, $timeout, $user, false);
+ $comments = $this->chatManager->waitForNewMessages($chat, $offset, $limit, $timeout, $user, false, true);
$this->assertEquals($expected, $comments);
}
@@ -385,7 +385,7 @@ class ChatManagerTest extends TestCase {
->method('getUID')
->willReturn('userId');
- $comments = $this->chatManager->waitForNewMessages($chat, $offset, $limit, $timeout, $user, false);
+ $comments = $this->chatManager->waitForNewMessages($chat, $offset, $limit, $timeout, $user, false, true);
$this->assertEquals($expected, $comments);
}