Move editMessageLambda to the constructor.
This commit is contained in:
parent
b62348f39b
commit
70558aa381
2 changed files with 6 additions and 7 deletions
|
|
@ -431,10 +431,9 @@ class MessageComposerPresenterTest {
|
|||
}
|
||||
val fakeMatrixRoom = FakeMatrixRoom(
|
||||
liveTimeline = timeline,
|
||||
typingNoticeResult = { Result.success(Unit) }
|
||||
).apply {
|
||||
this.editMessageLambda = roomEditMessageLambda
|
||||
}
|
||||
typingNoticeResult = { Result.success(Unit) },
|
||||
editMessageLambda = roomEditMessageLambda,
|
||||
)
|
||||
val presenter = createPresenter(
|
||||
this,
|
||||
fakeMatrixRoom,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue