From 23126c4e4878fc1bbabcd9fd0a93eeb8ac7cb5a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Wed, 19 Aug 2020 17:55:28 +0200 Subject: [PATCH] crypto: Disable the sqlite store test if the feature is disabled. --- matrix_sdk_crypto/src/machine.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/matrix_sdk_crypto/src/machine.rs b/matrix_sdk_crypto/src/machine.rs index a65373b9..d4b5755b 100644 --- a/matrix_sdk_crypto/src/machine.rs +++ b/matrix_sdk_crypto/src/machine.rs @@ -1499,6 +1499,7 @@ pub(crate) mod test { use http::Response; use serde_json::json; + #[cfg(feature = "sqlite_cryptostore")] use tempfile::tempdir; use crate::{ @@ -2059,6 +2060,7 @@ pub(crate) mod test { } #[tokio::test] + #[cfg(feature = "sqlite_cryptostore")] async fn test_machine_with_default_store() { let tmpdir = tempdir().unwrap();