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 eab590274e

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,