Skip to content

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

test(web_chat): update catalog test for voice note controllers

Steven Enamakel71213edfb5d2
diff --git a/crates/openhuman-core/src/web_chat/web_tests_error_code_classification_tests.rs b/crates/openhuman-core/src/web_chat/web_tests_error_code_classification_tests.rs
index f361e43735..3b9cd1161e 100644
--- a/crates/openhuman-core/src/web_chat/web_tests_error_code_classification_tests.rs
+++ b/crates/openhuman-core/src/web_chat/web_tests_error_code_classification_tests.rs
@@ -441,13 +441,15 @@ fn web_channel_catalog_has_chat_and_cancel() {
let s = all_web_channel_controller_schemas();
let c = all_web_channel_registered_controllers();
assert_eq!(s.len(), c.len());
- assert_eq!(s.len(), 5);
+ assert_eq!(s.len(), 7);
let fns: Vec<&str> = s.iter().map(|x| x.function).collect();
assert!(fns.contains(&"web_chat"));
assert!(fns.contains(&"web_cancel"));
assert!(fns.contains(&"web_queue_status"));
assert!(fns.contains(&"web_queue_clear"));
assert!(fns.contains(&"web_queue_remove"));
+ assert!(fns.contains(&"web_voice_note_store"));
+ assert!(fns.contains(&"web_voice_note_read"));
}
#[test]