diff options
author | Joas Schilling <coding@schilljs.com> | 2021-09-02 16:57:25 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-09-14 16:34:12 +0300 |
commit | a95bf0820d4d34f9eaa749ec3ca020acc635355f (patch) | |
tree | 3d2d05928c63beadce48ab052add5936125ddf97 /tests | |
parent | 5ddc878c183d66671a6f15e464828ccff79fba8a (diff) |
Unify handling of deleted users
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/php/Chat/Parser/SystemMessageTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/php/Chat/Parser/SystemMessageTest.php b/tests/php/Chat/Parser/SystemMessageTest.php index c7ea3b78f..652cedab5 100644 --- a/tests/php/Chat/Parser/SystemMessageTest.php +++ b/tests/php/Chat/Parser/SystemMessageTest.php @@ -926,6 +926,7 @@ class SystemMessageTest extends TestCase { ->method('get') ->with($uid) ->willReturn(null); + $this->expectException(ParticipantNotFoundException::class); } $this->assertSame($name, self::invokePrivate($parser, 'getDisplayName', [$uid])); |