diff options
author | Joas Schilling <coding@schilljs.com> | 2023-04-14 12:30:59 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2023-04-18 11:49:15 +0200 |
commit | 799bcbf03aa589541d55dfb6b23b81b262beee18 (patch) | |
tree | 66e7bfc4e4cfb2d4394c6a00b627834eeb42d8fc /tests/php | |
parent | 4c023ef6579678c5ab272319e629a9da4db79a11 (diff) |
fix(recording): Don't create confusing system message about recording if actor ended the call
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/php')
-rw-r--r-- | tests/php/Chat/SystemMessage/ListenerTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/php/Chat/SystemMessage/ListenerTest.php b/tests/php/Chat/SystemMessage/ListenerTest.php index 77619b52b..b024e80f2 100644 --- a/tests/php/Chat/SystemMessage/ListenerTest.php +++ b/tests/php/Chat/SystemMessage/ListenerTest.php @@ -424,7 +424,7 @@ class ListenerTest extends TestCase { Room::RECORDING_VIDEO, null, null, - ['message' => 'recording_stopped', 'parameters' => []], + null, ], [ Room::RECORDING_NONE, @@ -452,7 +452,7 @@ class ListenerTest extends TestCase { Room::RECORDING_AUDIO, null, null, - ['message' => 'audio_recording_stopped', 'parameters' => []], + null, ], [ Room::RECORDING_NONE, @@ -555,7 +555,7 @@ class ListenerTest extends TestCase { * @param int $oldStatus * @param string|null $actorType * @param string|null $actorId - * @param array $expectedMessage + * @param array|null $expectedMessage */ public function testAfterCallRecordingSet(int $newStatus, int $oldStatus, ?string $actorType, ?string $actorId, ?array $expectedMessage): void { $this->mockLoggedInUser('logged_in_user'); @@ -594,7 +594,7 @@ class ListenerTest extends TestCase { json_encode($expectedMessage), $this->dummyTime, false, - SELF::DUMMY_REFERENCE_ID, + self::DUMMY_REFERENCE_ID, null, false ); |