Skip to content

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

test(registry): fix denial field name in diagnostics test

Steven Enamakel634a0c4f7bba
diff --git a/crates/openhuman-core/src/tools/registry/ops_tests.rs b/crates/openhuman-core/src/tools/registry/ops_tests.rs
index e0c4101fc6..c40cf7f98a 100644
--- a/crates/openhuman-core/src/tools/registry/ops_tests.rs
+++ b/crates/openhuman-core/src/tools/registry/ops_tests.rs
@@ -405,7 +405,7 @@ fn diagnostics_report_denials_recorded_through_tinytools() {
.value
.recent_denials
.iter()
- .find(|d| d.tool == "tools.registry_snapshot_probe")
+ .find(|d| d.tool_name == "tools.registry_snapshot_probe")
.expect("recorded denial surfaces in diagnostics");
assert_eq!(denial.reason, "probe denial reason");
}