summaryrefslogtreecommitdiff
path: root/format-common/src/test
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-05-12 18:06:47 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-05-12 18:06:47 +0530
commita76da935cdb43e0f99513ed6f3468bd0835a5137 (patch)
tree50e9fc59fd09f2de9ac608b8907d87889c083fd2 /format-common/src/test
parentb9abf3ef43e3749c79c11254c575a5ad3af0a08f (diff)
feat: remove unnecessary CoroutineTestRule
Diffstat (limited to 'format-common/src/test')
-rw-r--r--format-common/src/test/kotlin/app/passwordstore/data/passfile/PasswordEntryTest.kt6
1 files changed, 0 insertions, 6 deletions
diff --git a/format-common/src/test/kotlin/app/passwordstore/data/passfile/PasswordEntryTest.kt b/format-common/src/test/kotlin/app/passwordstore/data/passfile/PasswordEntryTest.kt
index 73e55b34..865a13c1 100644
--- a/format-common/src/test/kotlin/app/passwordstore/data/passfile/PasswordEntryTest.kt
+++ b/format-common/src/test/kotlin/app/passwordstore/data/passfile/PasswordEntryTest.kt
@@ -7,7 +7,6 @@ package app.passwordstore.data.passfile
import app.cash.turbine.Event
import app.cash.turbine.test
-import app.passwordstore.test.CoroutineTestRule
import app.passwordstore.util.time.TestUserClock
import app.passwordstore.util.time.UserClock
import app.passwordstore.util.totp.UriTotpFinder
@@ -18,16 +17,11 @@ import kotlin.test.assertNotNull
import kotlin.test.assertNull
import kotlin.test.assertTrue
import kotlin.time.Duration.Companion.seconds
-import kotlin.time.ExperimentalTime
-import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.delay
import kotlinx.coroutines.test.runTest
-import org.junit.Rule
-@OptIn(ExperimentalCoroutinesApi::class, ExperimentalTime::class)
class PasswordEntryTest {
- @get:Rule val coroutineTestRule: CoroutineTestRule = CoroutineTestRule()
private val totpFinder = UriTotpFinder()
private fun makeEntry(content: String, clock: UserClock = fakeClock) =