Skip to content

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

test(meta): use read-only permissions in collapse tests

Steven Enamakelec18d56f1c10
diff --git a/src/openhuman/tools/impl/meta/collapse.rs b/src/openhuman/tools/impl/meta/collapse.rs
index 1e8baec39e..e1f87f7946 100644
--- a/src/openhuman/tools/impl/meta/collapse.rs
+++ b/src/openhuman/tools/impl/meta/collapse.rs
@@ -259,7 +259,7 @@ mod tests {
"job_id": {"type": "string"},
"limit": {"type": "integer", "description": "How many."}
}}),
- PermissionLevel::Read,
+ PermissionLevel::ReadOnly,
false,
);
let actions = vec![
@@ -282,7 +282,7 @@ mod tests {
let runs = stub(
"runs",
json!({"type": "object", "properties": {"job_id": {"type": "string"}}, "required": ["job_id"]}),
- PermissionLevel::Read,
+ PermissionLevel::ReadOnly,
false,
);
let actions = vec![
@@ -301,7 +301,7 @@ mod tests {
"shared": {"type": "string"},
"only_b": {"type": "string", "description": "B's field."}
}}),
- PermissionLevel::Read,
+ PermissionLevel::ReadOnly,
false,
);
let actions = vec![