Skip to content

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

test(storage): fix imports in storage host and journal tests

Steven Enamakela9fb88e111e6
diff --git a/crates/openhuman-core/src/modules/storage_host_linked_tests.rs b/crates/openhuman-core/src/modules/storage_host_linked_tests.rs
index 8ee5fad2ad..f5e847869d 100644
--- a/crates/openhuman-core/src/modules/storage_host_linked_tests.rs
+++ b/crates/openhuman-core/src/modules/storage_host_linked_tests.rs
@@ -5,14 +5,13 @@ use tinybus::broker::Broker;
use tinybus::transport::memory::MemoryBus;
use tinybus::{BusName, Connection};
use tinystoragedrivers::secrets::{DerivedKeys, KeyProvider};
-use tinystoragedrivers::{Scope, StorageError};
+use crate::storage::{Scope, StorageBackend, StorageError};
use tinystoragedrivers_bus::{SecretNameRequest, SecretValue, SetSecretRequest};
use tinystoragedrivers_testkit::MemoryBackend as MemoryStorage;
use zeroize::Zeroizing;
use super::super::storage_grants::StorageGrant;
use super::super::storage_host::{module_scope, CallerDirectory, Environment, StorageHost};
-use crate::storage::StorageBackend;
use super::TEST_TURN as TURN;
diff --git a/crates/openhuman-core/src/storage/journal_maintenance_tests.rs b/crates/openhuman-core/src/storage/journal_maintenance_tests.rs
index 9f7d2a06a4..7a00fda3d0 100644
--- a/crates/openhuman-core/src/storage/journal_maintenance_tests.rs
+++ b/crates/openhuman-core/src/storage/journal_maintenance_tests.rs
@@ -304,7 +304,7 @@ async fn captured_profile_lease_expiry_between_snapshot_and_mutation_refuses_wri
let work = captured_profile_work(
&host,
vec![Arc::clone(&profile)],
- super::fence::system_now_ms(),
+ crate::storage::fence::system_now_ms(),
)
.unwrap()
.into_iter()