mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-18 11:55:38 -04:00
Fixed testExtractDocumentId
test case.
This commit is contained in:
parent
1a9b278da6
commit
e02fc32a51
@ -427,24 +427,24 @@ class FileUtilsInstrumentationTest {
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU) {
|
||||
val dummyDownloadUriData = arrayOf(
|
||||
DummyUrlData(
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
"raw:$expectedFilePath",
|
||||
null,
|
||||
Uri.parse("${downloadDocumentUriPrefix}raw%3A%2Fstorage%2Femulated%2F0%2F$commonUri")
|
||||
),
|
||||
DummyUrlData(
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
expectedFilePath,
|
||||
null,
|
||||
Uri.parse("$downloadDocumentUriPrefix%2Fstorage%2Femulated%2F0%2F$commonUri")
|
||||
),
|
||||
DummyUrlData(
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
"",
|
||||
null,
|
||||
Uri.parse(downloadUriPrefix)
|
||||
)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user