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 <213943+nickvergessen@users.noreply.github.com>2019-09-19 15:46:57 +0300
committerGitHub <noreply@github.com>2019-09-19 15:46:57 +0300
commit256c9fc5878cceffc859478143f1f965e8e24be6 (patch)
treee06200b369f274a856cba9849f72dfd7dc317ea3 /tests
parent2af357cea9e627f107c47e79de214a7e88d87863 (diff)
parent5649e4c0abebb8b7b5b77c16416a25a35fa730e7 (diff)
Merge pull request #2197 from nextcloud/bugfix/2194/unify-avatar-handling-of-guests
Unify the handling of the guest avatars
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]));
}