mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Cleanup
This commit is contained in:
-1
@@ -54,4 +54,3 @@ class RustMatrixAuthenticationServiceTest {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-1
@@ -28,4 +28,3 @@ class FakeRustNotificationSettings(
|
|||||||
isOneToOne: Boolean,
|
isOneToOne: Boolean,
|
||||||
): RoomNotificationSettings = roomNotificationSettings
|
): RoomNotificationSettings = roomNotificationSettings
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-1
@@ -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()
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -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,
|
||||||
|
|||||||
-1
@@ -69,7 +69,6 @@ class RoomDirectorySearchProcessorTest {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
assertThat(awaitItem()).isEqualTo(listOf(room1, room2, room3))
|
assertThat(awaitItem()).isEqualTo(listOf(room1, room2, room3))
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user