diff options
author | Joas Schilling <coding@schilljs.com> | 2019-09-18 20:42:02 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-09-19 12:05:06 +0300 |
commit | 5649e4c0abebb8b7b5b77c16416a25a35fa730e7 (patch) | |
tree | 227c1c1376c443a434ed6b0fe8049c1842a95bd5 /tests | |
parent | b0de29b233dea8a538a76585cf749859a11d3043 (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.php | 4 |
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])); } |