diff options
Diffstat (limited to 'format-common')
-rw-r--r-- | format-common/build.gradle.kts | 1 | ||||
-rw-r--r-- | format-common/src/test/kotlin/app/passwordstore/data/passfile/PasswordEntryTest.kt | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/format-common/build.gradle.kts b/format-common/build.gradle.kts index 3377eb86..01009ab8 100644 --- a/format-common/build.gradle.kts +++ b/format-common/build.gradle.kts @@ -12,7 +12,6 @@ dependencies { implementation(libs.dagger.hilt.core) implementation(libs.thirdparty.commons.codec) implementation(libs.thirdparty.uri) - testImplementation(projects.coroutineUtilsTesting) testImplementation(libs.bundles.testDependencies) testImplementation(libs.kotlin.coroutines.test) testImplementation(libs.testing.turbine) 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) = |