mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-09 00:15:23 -04:00
crypto: Disable the sqlite store test if the feature is disabled.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user