Skip to content

Commit 89e0f45

Browse files
committed
Update CryptoContainerTest.kt
1 parent ceba70e commit 89e0f45

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

crypto-lib/src/androidTest/kotlin/ee/ria/DigiDoc/cryptolib/CryptoContainerTest.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -895,6 +895,9 @@ class CryptoContainerTest {
895895
@Test
896896
fun cryptoContainer_encrypt_CDOC2OnlineSuccess() =
897897
runTest {
898+
val isTestEnabled = System.getenv("WITH_CRYTO_LIB_TESTS")?.toBoolean() == true
899+
assumeTrue("Skipping test: WITH_CRYTO_LIB_TESTS not true", isTestEnabled)
900+
898901
preferences
899902
.edit()
900903
.putBoolean(

0 commit comments

Comments
 (0)