Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(profiles): reformat fenced backend setup in host test

Steven Enamakel2be015bbc123
diff --git a/crates/openhuman-core/src/profiles/host_tests.rs b/crates/openhuman-core/src/profiles/host_tests.rs
index 5d69252345..bea08f574a 100644
--- a/crates/openhuman-core/src/profiles/host_tests.rs
+++ b/crates/openhuman-core/src/profiles/host_tests.rs
@@ -513,12 +513,11 @@ async fn opening_replaces_a_dropped_hosts_fence_before_cron_reconciliation() {
let second_root = tempfile::tempdir().unwrap();
let id = profile(&format!("cron-fence-{}", uuid::Uuid::new_v4().simple()));
let registry = crate::storage::fence::registry();
- let backend: Arc<dyn crate::storage::StorageBackend> = Arc::new(
- crate::storage::fenced_backend::FencedBackend::new(
+ let backend: Arc<dyn crate::storage::StorageBackend> =
+ Arc::new(crate::storage::fenced_backend::FencedBackend::new(
Arc::new(crate::storage::MemoryStorage::new()),
Arc::clone(&registry),
- ),
- );
+ ));
let _storage = RestoreInstalledStorage(crate::storage::install(backend));
let mut first_saas = SaasConfig::new(first_root.path());