Skip to content

Commit

Permalink
fixup! fixup! fix(conversations): fix password enforcement logic error
Browse files Browse the repository at this point in the history
  • Loading branch information
miaulalala committed Dec 11, 2024
1 parent 0d85086 commit 9b5a4b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/php/Service/RoomServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,9 @@ public function testCreateConversation(int $type, string $name, string $ownerId,
->method('addUsers');
}

$this->hasher->expects(self::once())
->method('hash')
->willReturn($password);
$this->manager->expects($this->once())
->method('createRoom')
->with($type, $name, $objectType, $objectId, $password)
Expand Down

0 comments on commit 9b5a4b1

Please sign in to comment.