Skip to content

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

test(storage): update flow creation in e2e tests

Steven Enamakelbc181f39fcdf
diff --git a/tests/storage_flows_e2e.rs b/tests/storage_flows_e2e.rs
index b5647927ef..d3de986a91 100644
--- a/tests/storage_flows_e2e.rs
+++ b/tests/storage_flows_e2e.rs
@@ -52,7 +52,7 @@ async fn a_configured_backend_holds_cron_flows_and_flow_state(case: Case) {
],
"edges": [ { "from_node": "t", "to_node": "a" } ]
});
- let flow = flows::ops::flows_create(&config, "Digest".to_string(), graph, false)
+ let flow = flows::ops::flows_create(&config, "Digest".to_string(), graph.clone(), false)
.await
.unwrap()
.value;
@@ -133,7 +133,7 @@ async fn a_configured_backend_holds_cron_flows_and_flow_state(case: Case) {
let fallback_flow = flows::ops::flows_create(
&config,
"Fallback".to_string(),
- structurally_valid_graph_for_storage_test(),
+ graph,
false,
)
.await