crypto: Disable the sqlite store test if the feature is disabled.

master
Damir Jelić 2020-08-19 17:55:28 +02:00
parent 6f5352b9a9
commit 23126c4e48
1 changed files with 2 additions and 0 deletions

View File

@ -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();