crypto: Disable the sqlite store test if the feature is disabled.
parent
6f5352b9a9
commit
23126c4e48
|
@ -1499,6 +1499,7 @@ pub(crate) mod test {
|
||||||
|
|
||||||
use http::Response;
|
use http::Response;
|
||||||
use serde_json::json;
|
use serde_json::json;
|
||||||
|
#[cfg(feature = "sqlite_cryptostore")]
|
||||||
use tempfile::tempdir;
|
use tempfile::tempdir;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
|
@ -2059,6 +2060,7 @@ pub(crate) mod test {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
|
#[cfg(feature = "sqlite_cryptostore")]
|
||||||
async fn test_machine_with_default_store() {
|
async fn test_machine_with_default_store() {
|
||||||
let tmpdir = tempdir().unwrap();
|
let tmpdir = tempdir().unwrap();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue