summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-04-09 10:35:57 +0200
committerJoas Schilling <coding@schilljs.com>2021-04-12 11:03:00 +0200
commiteb77791c0a714acd1747790894edfa3fc6d7b6fb (patch)
treeddd4a7f928c3fe01b09161fb9f2035631f7bbf08 /tests
parent3937a8e783dc5287314d9fbf33e1a8fe7006b407 (diff)
Log conversation deletions in the audit.log
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/php/RoomTest.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/php/RoomTest.php b/tests/php/RoomTest.php
index 960ec0111..e862bbb80 100644
--- a/tests/php/RoomTest.php
+++ b/tests/php/RoomTest.php
@@ -57,7 +57,6 @@ class RoomTest extends TestCase {
$room = new Room(
$this->createMock(Manager::class),
$this->createMock(IDBConnection::class),
- $this->createMock(ISecureRandom::class),
$dispatcher,
$this->createMock(ITimeFactory::class),
$this->createMock(IHasher::class),
@@ -76,7 +75,11 @@ class RoomTest extends TestCase {
Participant::FLAG_DISCONNECTED,
null,
null,
- 0
+ 0,
+ null,
+ null,
+ '',
+ ''
);
$verificationResult = $room->verifyPassword('1234');
$this->assertSame($verificationResult, ['result' => true, 'url' => '']);