Upgrade Kotlin to v2.0 (#3594)
* Bump Kotlin to v2.0 * Fix lots of issues due to the upgrade: lint issues, function signature incompatibilities, broken tests, etc. --------- Co-authored-by: Benoit Marty <benoit@matrix.org>
This commit is contained in:
parent
11467051d1
commit
e44b5ad98d
27 changed files with 93 additions and 69 deletions
|
|
@ -99,7 +99,7 @@ class AcceptDeclineInvitePresenterTest {
|
|||
InternalAcceptDeclineInviteEvents.ConfirmDeclineInvite
|
||||
)
|
||||
}
|
||||
skipItems(1)
|
||||
skipItems(2)
|
||||
awaitItem().also { state ->
|
||||
assertThat(state.declineAction).isInstanceOf(AsyncAction.Failure::class.java)
|
||||
state.eventSink(
|
||||
|
|
@ -147,7 +147,7 @@ class AcceptDeclineInvitePresenterTest {
|
|||
InternalAcceptDeclineInviteEvents.ConfirmDeclineInvite
|
||||
)
|
||||
}
|
||||
skipItems(1)
|
||||
skipItems(2)
|
||||
awaitItem().also { state ->
|
||||
assertThat(state.declineAction).isInstanceOf(AsyncAction.Success::class.java)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue