Merge pull request #2373 from element-hq/feature/bma/fixTests

Fix test compilation after change on other PR getting merged.
This commit is contained in:
Benoit Marty 2024-02-09 10:08:13 +01:00 committed by GitHub
commit 3a834393d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -116,7 +116,7 @@ class RoomListContextMenuTest {
fun `clicking on Settings invokes the expected callback and generates expected Event`() {
val eventsRecorder = EventsRecorder<RoomListEvents>()
val contextMenu = aContextMenuShown()
val callback = EnsureCalledOnceWithParam(contextMenu.roomId)
val callback = EnsureCalledOnceWithParam(contextMenu.roomId, Unit)
rule.setContent {
RoomListContextMenu(
contextMenu = contextMenu,