Skip to content

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

fix(test): update ws_loop test to use correct mock method name

Steven Enamakela344a1baa792
diff --git a/crates/openhuman-core/src/platform/socket/ws_loop_tests.rs b/crates/openhuman-core/src/platform/socket/ws_loop_tests.rs
index aa84198a93..8b124547f3 100644
--- a/crates/openhuman-core/src/platform/socket/ws_loop_tests.rs
+++ b/crates/openhuman-core/src/platform/socket/ws_loop_tests.rs
@@ -8,6 +8,7 @@ use crate::platform::socket::token_provider::{is_invalid_token_error, static_tok
use crate::platform::socket::manager::SharedState;
use std::sync::Arc;
use tokio::sync::mpsc;
+use futures_util::{SinkExt, StreamExt};
use tokio_tungstenite::tungstenite::{Error as WsError, Message as WsMessage};
use crate::platform::socket::types::ConnectionStatus;
fn make_shared() -> Arc<SharedState> {