Cleanup
This commit is contained in:
parent
af9f02c5d7
commit
91b4af96cb
5 changed files with 1 additions and 6 deletions
|
|
@ -54,4 +54,3 @@ class RustMatrixAuthenticationServiceTest {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,4 +28,3 @@ class FakeRustNotificationSettings(
|
||||||
isOneToOne: Boolean,
|
isOneToOne: Boolean,
|
||||||
): RoomNotificationSettings = roomNotificationSettings
|
): RoomNotificationSettings = roomNotificationSettings
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,6 @@ import org.matrix.rustcomponents.sdk.RoomListServiceSyncIndicatorListener
|
||||||
import org.matrix.rustcomponents.sdk.TaskHandle
|
import org.matrix.rustcomponents.sdk.TaskHandle
|
||||||
|
|
||||||
class FakeRustRoomListService : RoomListService(NoPointer) {
|
class FakeRustRoomListService : RoomListService(NoPointer) {
|
||||||
|
|
||||||
override suspend fun allRooms(): RoomList {
|
override suspend fun allRooms(): RoomList {
|
||||||
return FakeRustRoomList()
|
return FakeRustRoomList()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -125,8 +125,7 @@ private fun anExternalSession(
|
||||||
refreshToken: String? = null,
|
refreshToken: String? = null,
|
||||||
homeserverUrl: String = A_HOMESERVER_URL,
|
homeserverUrl: String = A_HOMESERVER_URL,
|
||||||
slidingSyncProxy: String? = null,
|
slidingSyncProxy: String? = null,
|
||||||
|
) = ExternalSession(
|
||||||
) = ExternalSession(
|
|
||||||
userId = userId,
|
userId = userId,
|
||||||
deviceId = deviceId,
|
deviceId = deviceId,
|
||||||
accessToken = accessToken,
|
accessToken = accessToken,
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,6 @@ class RoomDirectorySearchProcessorTest {
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
assertThat(awaitItem()).isEqualTo(listOf(room1, room2, room3))
|
assertThat(awaitItem()).isEqualTo(listOf(room1, room2, room3))
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue