Skip to content

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

test(catalogue): use a valid graph for sorting fixtures

Steven Enamakela558a246b8fa
diff --git a/crates/openhuman-core/src/flows/catalogue_tests.rs b/crates/openhuman-core/src/flows/catalogue_tests.rs
index 346f802898..cae2c59a58 100644
--- a/crates/openhuman-core/src/flows/catalogue_tests.rs
+++ b/crates/openhuman-core/src/flows/catalogue_tests.rs
@@ -211,11 +211,19 @@ fn entries_are_sorted_by_name_so_the_prompt_prefix_is_stable() {
// unrelated to the conversation.
let tmp = TempDir::new().unwrap();
let config = store_config(&tmp);
+ let graph = WorkflowGraph {
+ nodes: vec![node(
+ "trigger",
+ NodeKind::Trigger,
+ serde_json::json!({ "trigger_kind": "manual" }),
+ )],
+ ..Default::default()
+ };
for name in ["Zebra", "Alpha", "Mango"] {
super::super::store::create_flow(
&config,
name.to_string(),
- WorkflowGraph::default(),
+ graph.clone(),
false,
true,
)