Skip to content

Commit 059396e

Browse files
committed
test: add missing @OptIn(ExperimentalCoroutinesApi) to SettingsImporterTest
1 parent 3e713d1 commit 059396e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

legacy/core/src/test/java/com/fsck/k9/preferences/SettingsImporterTest.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import assertk.assertions.prop
1515
import com.fsck.k9.K9RobolectricTest
1616
import com.fsck.k9.Preferences
1717
import java.util.UUID
18+
import kotlinx.coroutines.ExperimentalCoroutinesApi
1819
import kotlinx.coroutines.test.UnconfinedTestDispatcher
1920
import kotlinx.coroutines.test.runTest
2021
import org.junit.Before
@@ -117,6 +118,7 @@ class SettingsImporterTest : K9RobolectricTest() {
117118
}.isInstanceOf<SettingsImportExportException>()
118119
}
119120

121+
@OptIn(ExperimentalCoroutinesApi::class)
120122
@Test
121123
fun `importSettings() should disable accounts needing passwords`() = runTest(UnconfinedTestDispatcher()) {
122124
val accountUuid = UUID.randomUUID().toString()

0 commit comments

Comments
 (0)