Skip to content

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

test(core): remove redundant controller entry rebuild

Steven Enamakelbbd18b70e048
diff --git a/crates/openhuman-core/src/core/schema_test_support_tests.rs b/crates/openhuman-core/src/core/schema_test_support_tests.rs
index ec9ae2b3b9..6292857d3c 100644
--- a/crates/openhuman-core/src/core/schema_test_support_tests.rs
+++ b/crates/openhuman-core/src/core/schema_test_support_tests.rs
@@ -82,10 +82,6 @@ fn contract_rejects_each_removed_or_optional_required_declaration() {
} else {
broken.schema.inputs[0].required = false;
}
- let broken = ControllerEntry {
- schema: broken.schema,
- ..broken
- };
assert!(verify_parameter_contracts(&[broken], std::slice::from_ref(&contract))
.unwrap_err()
.contains("required inputs mismatch"));