Cleanup
This commit is contained in:
@@ -54,4 +54,3 @@ class RustMatrixAuthenticationServiceTest {
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -28,4 +28,3 @@ class FakeRustNotificationSettings(
|
||||
isOneToOne: Boolean,
|
||||
): RoomNotificationSettings = roomNotificationSettings
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@ import org.matrix.rustcomponents.sdk.RoomListServiceSyncIndicatorListener
|
||||
import org.matrix.rustcomponents.sdk.TaskHandle
|
||||
|
||||
class FakeRustRoomListService : RoomListService(NoPointer) {
|
||||
|
||||
override suspend fun allRooms(): RoomList {
|
||||
return FakeRustRoomList()
|
||||
}
|
||||
|
||||
@@ -125,8 +125,7 @@ private fun anExternalSession(
|
||||
refreshToken: String? = null,
|
||||
homeserverUrl: String = A_HOMESERVER_URL,
|
||||
slidingSyncProxy: String? = null,
|
||||
|
||||
) = ExternalSession(
|
||||
) = ExternalSession(
|
||||
userId = userId,
|
||||
deviceId = deviceId,
|
||||
accessToken = accessToken,
|
||||
|
||||
@@ -69,7 +69,6 @@ class RoomDirectorySearchProcessorTest {
|
||||
)
|
||||
)
|
||||
assertThat(awaitItem()).isEqualTo(listOf(room1, room2, room3))
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user