Small cleanup
This commit is contained in:
parent
8137c68154
commit
eb9676294b
1 changed files with 11 additions and 13 deletions
|
|
@ -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`() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue