Skip to content

Commit fc998d5

Browse files
fix: junit tests
1 parent 37eadb8 commit fc998d5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

downloads/src/test/java/org/openedx/downloads/DownloadsViewModelTest.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,12 @@ class DownloadsViewModelTest {
8484
private val unknownError = "Unknown error"
8585

8686
private val downloadCoursePreview =
87-
DownloadCoursePreview(id = "course1", name = "", image = "", totalSize = 0)
87+
DownloadCoursePreview(
88+
id = "course1",
89+
name = "",
90+
image = "",
91+
totalSize = DownloadDialogManager.MAX_CELLULAR_SIZE.toLong()
92+
)
8893
private val assignmentProgress = AssignmentProgress(
8994
assignmentType = "Homework",
9095
numPointsEarned = 1f,

0 commit comments

Comments
 (0)