Skip to content

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

feat(about_app): add tests for app info operations

Steven Enamakelcbba3b7797df
diff --git a/crates/openhuman-core/src/platform/about_app/ops_tests.rs b/crates/openhuman-core/src/platform/about_app/ops_tests.rs
index 9b694ea8a2..3be206d76f 100644
--- a/crates/openhuman-core/src/platform/about_app/ops_tests.rs
+++ b/crates/openhuman-core/src/platform/about_app/ops_tests.rs
@@ -68,6 +68,18 @@ fn reply_remix_capability_shows_disabled_when_the_memes_component_is_off() {
assert_eq!(apply_components(cap, &off("voice")).status, cap.status);
}
+#[test]
+fn inbound_queue_capability_shows_disabled_when_the_eventqueues_component_is_off() {
+ let cap = super::super::lookup("automation.inbound_event_queues").expect("inbound queues");
+ assert_ne!(cap.status, CapabilityStatus::Disabled);
+ assert_eq!(
+ apply_components(cap, &off("eventqueues")).status,
+ CapabilityStatus::Disabled
+ );
+ let tasks = super::super::lookup("automation.task_sources").expect("task sources");
+ assert_eq!(apply_components(tasks, &off("eventqueues")).status, tasks.status);
+}
+
#[test]
fn scheduled_job_capabilities_show_disabled_when_the_tinyflows_component_is_off() {
for id in [