Skip to content

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

test(storage): assert memory backend url in approvals e2e

Steven Enamakel83f732414394
diff --git a/tests/storage_approvals_e2e.rs b/tests/storage_approvals_e2e.rs
index 2dd8ecdc90..15fd769bb6 100644
--- a/tests/storage_approvals_e2e.rs
+++ b/tests/storage_approvals_e2e.rs
@@ -27,6 +27,9 @@ fn pending(id: &str) -> PendingApproval {
#[test]
fn a_configured_backend_holds_the_approvals_instead_of_approval_db() {
let case = Case::open();
+ if std::env::var("OPENHUMAN_TEST_STORAGE_BACKEND").ok().as_deref() == Some("memory") {
+ assert_eq!(case.url, "memory");
+ }
let workspace = tempfile::tempdir().unwrap();
let config = Config {
workspace_dir: workspace.path().to_path_buf(),