diff options
author | Joas Schilling <coding@schilljs.com> | 2019-08-30 15:41:23 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-08-30 15:41:23 +0300 |
commit | 67c81e772fcc3dc3f6da96253d721d89278997e8 (patch) | |
tree | d7697dc7859869e9cc0e1a6aa18e04613e68cfd7 /tests | |
parent | 3eb76168d33e088b810d63785e58ea7e7243179c (diff) |
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/php/Chat/ChatManagerTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/php/Chat/ChatManagerTest.php b/tests/php/Chat/ChatManagerTest.php index 8398b7596..f49f3aa7c 100644 --- a/tests/php/Chat/ChatManagerTest.php +++ b/tests/php/Chat/ChatManagerTest.php @@ -187,7 +187,7 @@ class ChatManagerTest extends TestCase { ->with('chat', 1234, $offset, 'desc', $limit) ->willReturn($expected); - $comments = $this->chatManager->getHistory($chat, $offset, $limit); + $comments = $this->chatManager->getHistory($chat, $offset, $limit, false); $this->assertEquals($expected, $comments); } @@ -222,7 +222,7 @@ class ChatManagerTest extends TestCase { ->method('getUID') ->willReturn('userId'); - $comments = $this->chatManager->waitForNewMessages($chat, $offset, $limit, $timeout, $user); + $comments = $this->chatManager->waitForNewMessages($chat, $offset, $limit, $timeout, $user, false); $this->assertEquals($expected, $comments); } @@ -260,7 +260,7 @@ class ChatManagerTest extends TestCase { ->method('getUID') ->willReturn('userId'); - $comments = $this->chatManager->waitForNewMessages($chat, $offset, $limit, $timeout, $user); + $comments = $this->chatManager->waitForNewMessages($chat, $offset, $limit, $timeout, $user, false); $this->assertEquals($expected, $comments); } |