Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-09-18 20:42:02 +0300
committerJoas Schilling <coding@schilljs.com>2019-09-19 12:05:06 +0300
commit5649e4c0abebb8b7b5b77c16416a25a35fa730e7 (patch)
tree227c1c1376c443a434ed6b0fe8049c1842a95bd5 /tests
parentb0de29b233dea8a538a76585cf749859a11d3043 (diff)
Unify system messages with mentions of guest users in ordinary messages
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/php/Chat/Parser/SystemMessageTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/php/Chat/Parser/SystemMessageTest.php b/tests/php/Chat/Parser/SystemMessageTest.php
index 198c29e9c..bc045789f 100644
--- a/tests/php/Chat/Parser/SystemMessageTest.php
+++ b/tests/php/Chat/Parser/SystemMessageTest.php
@@ -797,14 +797,14 @@ class SystemMessageTest extends TestCase {
$this->assertSame([
'type' => 'guest',
- 'id' => $sessionHash,
+ 'id' => 'guest/' . $sessionHash,
'name' => 'name',
], self::invokePrivate($parser, 'getGuest', [$sessionHash]));
// Cached call: no call to getGuestName() again
$this->assertSame([
'type' => 'guest',
- 'id' => $sessionHash,
+ 'id' => 'guest/' . $sessionHash,
'name' => 'name',
], self::invokePrivate($parser, 'getGuest', [$sessionHash]));
}