Skip to content

Commit 62c1cf5

Browse files
xitij2000kaustavb12
authored andcommitted
fixup! fix: downloaded videos were not working due to gating API needing online access
(cherry picked from commit 8f17fff) (cherry picked from commit 885c26f)
1 parent cae85a4 commit 62c1cf5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

course/src/test/java/org/openedx/course/presentation/section/CourseSectionViewModelTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ class CourseSectionViewModelTest {
213213
every {
214214
resourceManager.getString(org.openedx.course.R.string.course_can_download_only_with_wifi)
215215
} returns cantDownload
216+
every { networkConnection.isOnline() } returns true
216217
coEvery { interactor.getSubsection("id") } returns subsection
217218
}
218219

0 commit comments

Comments
 (0)