We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b21981a commit e31a8adCopy full SHA for e31a8ad
1 file changed
app/src/test/java/org/schabi/newpipe/settings/ImportExportManagerTest.kt
@@ -55,7 +55,7 @@ class ImportExportManagerTest {
55
`when`(sharedPreferences.all).thenReturn(expectedPreferences)
56
57
val output = File.createTempFile("newpipe_", "")
58
- `when`(storedFileHelper.stream).thenReturn(FileStream(output))
+ `when`(storedFileHelper.openAndTruncateStream()).thenReturn(FileStream(output))
59
ImportExportManager(fileLocator).exportDatabase(sharedPreferences, storedFileHelper)
60
61
val zipFile = ZipFile(output)
0 commit comments