mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-05 22:36:34 +00:00
Small cleanup
This commit is contained in:
committed by
Benoit Marty
parent
a4cf1d7e08
commit
f286f6d464
+1
-3
@@ -51,9 +51,8 @@ class TimelineMediaGalleryDataSourceTest {
|
||||
val warmUpRule = WarmUpRule()
|
||||
|
||||
@Test
|
||||
fun `test - not started TimelineMediaGalleryDataSource emits no events`() {
|
||||
fun `test - not started TimelineMediaGalleryDataSource emits no events`() = runTest {
|
||||
val fakeTimeline = FakeTimeline()
|
||||
runTest {
|
||||
val sut = createTimelineMediaGalleryDataSource(
|
||||
room = FakeMatrixRoom(
|
||||
mediaTimelineResult = { Result.success(fakeTimeline) },
|
||||
@@ -67,7 +66,6 @@ class TimelineMediaGalleryDataSourceTest {
|
||||
expectNoEvents()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `test - getLastData should return the previous emitted data`() {
|
||||
|
||||
Reference in New Issue
Block a user