Browse Source

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

Fix test compilation after change on other PR getting merged.
pull/2370/head
Benoit Marty 7 months ago committed by GitHub
parent
commit
3a834393d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      features/roomlist/impl/src/test/kotlin/io/element/android/features/roomlist/impl/RoomListContextMenuTest.kt

2
features/roomlist/impl/src/test/kotlin/io/element/android/features/roomlist/impl/RoomListContextMenuTest.kt

@ -116,7 +116,7 @@ class RoomListContextMenuTest { @@ -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,

Loading…
Cancel
Save