Skip to content

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

test(core): update tests for dispatch context parameter

Steven Enamakel7244ec1692d8
diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/helpers_tests.rs b/crates/openhuman-core/src/channels/runtime/dispatch/helpers_tests.rs
index afa84eb92b..bf6d113625 100644
--- a/crates/openhuman-core/src/channels/runtime/dispatch/helpers_tests.rs
+++ b/crates/openhuman-core/src/channels/runtime/dispatch/helpers_tests.rs
@@ -1,4 +1,5 @@
use super::*;
+use crate::core::runtime::DispatchCtx;
use std::sync::Arc;
use tokio::sync::{oneshot, Notify};
diff --git a/crates/openhuman-core/src/storage/import/mod_tests.rs b/crates/openhuman-core/src/storage/import/mod_tests.rs
index 085a86cb57..6d182e6bb8 100644
--- a/crates/openhuman-core/src/storage/import/mod_tests.rs
+++ b/crates/openhuman-core/src/storage/import/mod_tests.rs
@@ -411,7 +411,7 @@ async fn without_an_installed_backend_the_host_import_does_nothing() {
legacy_device(&config, "chan-a", "Phone", false);
assert!(crate::storage::installed().is_none());
- assert!(run(&config).await.is_empty());
+ assert!(run(&crate::core::runtime::DispatchCtx::unbound(), &config).await.is_empty());
}
#[test]