diff options
author | Joas Schilling <coding@schilljs.com> | 2023-05-09 07:32:54 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-05-09 07:32:54 +0200 |
commit | 95facb31432757a4ae35ac78e61030d48b7133d1 (patch) | |
tree | 17659cb79d4bb611e91bf50501f153efdf1ddf34 /tests/php | |
parent | b88ca2213ffac44d0e58f07eb877cfce439c9e85 (diff) |
fix(chat): Fix call summary with only numeric user ids
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/php')
-rw-r--r-- | tests/php/Chat/Parser/SystemMessageTest.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/php/Chat/Parser/SystemMessageTest.php b/tests/php/Chat/Parser/SystemMessageTest.php index 3f257bdb8..260dafb8b 100644 --- a/tests/php/Chat/Parser/SystemMessageTest.php +++ b/tests/php/Chat/Parser/SystemMessageTest.php @@ -1355,6 +1355,15 @@ class SystemMessageTest extends TestCase { ['user1' => ['data' => 'user2'], 'user2' => ['data' => 'user3'], 'user3' => ['data' => 'user4'], 'user4' => ['data' => 'user5']], ], ], + 'numeric users only' => [ + 'call_ended_everyone', + ['users' => ['123', '234', '345', '456', '576', '678'], 'guests' => 2, 'duration' => 42], + ['type' => 'user', 'id' => '123', 'name' => '123'], + [ + '{actor} ended the call with {user1}, {user2}, {user3}, {user4} and 3 others (Duration "duration")', + ['user1' => ['data' => '234'], 'user2' => ['data' => '345'], 'user3' => ['data' => '456'], 'user4' => ['data' => '576']], + ], + ], ]; } |