Skip to content

Commit

Permalink
Fixed EncodedUrlTest that are failing due to this one reader functi…
Browse files Browse the repository at this point in the history
…onality.
  • Loading branch information
MohitMaliDeveloper committed Apr 5, 2024
1 parent 026086c commit bc1b46a
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import org.junit.Test
import org.kiwix.kiwixmobile.BaseActivityTest
import org.kiwix.kiwixmobile.core.NightModeConfig
import org.kiwix.kiwixmobile.core.reader.ZimFileReader
import org.kiwix.kiwixmobile.core.reader.ZimReaderSource
import org.kiwix.kiwixmobile.core.utils.SharedPreferenceUtil
import org.kiwix.kiwixmobile.main.KiwixMainActivity
import org.kiwix.kiwixmobile.testutils.TestUtils
Expand Down Expand Up @@ -81,9 +82,7 @@ class EncodedUrlTest : BaseActivityTest() {
}
}
val zimFileReader = ZimFileReader(
zimFile,
null,
null,
ZimReaderSource(zimFile),
Archive(zimFile.canonicalPath),
NightModeConfig(SharedPreferenceUtil(context), context)
)
Expand Down

0 comments on commit bc1b46a

Please sign in to comment.