Skip to content

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

test(storage): update scope_from calls for new parameter

Steven Enamakelc7d78d241e6a
diff --git a/tests/storage_agent_scopes_e2e.rs b/tests/storage_agent_scopes_e2e.rs
index d1c8396893..6f6cc3a2aa 100644
--- a/tests/storage_agent_scopes_e2e.rs
+++ b/tests/storage_agent_scopes_e2e.rs
@@ -206,9 +206,9 @@ async fn no_acting_agent_falls_back_to_the_local_scope(case: Case) {
// and the storage the stores read is that scope's.
assert_eq!(storage::current_scope().unwrap(), Scope::local());
assert!(storage::current_scoped().unwrap().is_some());
- assert_eq!(storage::scope_from(None, false).unwrap(), Scope::local());
+ assert_eq!(storage::scope_from(None, None, false).unwrap(), Scope::local());
// SaaS mode refuses the same call instead of sharing a bucket.
- assert!(storage::scope_from(None, true).is_err());
+ assert!(storage::scope_from(None, None, true).is_err());
add_due_job(&config, "operator-job");
flows::ops::flows_create(