Skip to content

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

test(billing): use expect in update card params test

Steven Enamakel7b60e17a1b7d
diff --git a/crates/openhuman-tinyhumans/src/hosted/billing/schemas_tests.rs b/crates/openhuman-tinyhumans/src/hosted/billing/schemas_tests.rs
index 89cedb6f90..21c2af1932 100644
--- a/crates/openhuman-tinyhumans/src/hosted/billing/schemas_tests.rs
+++ b/crates/openhuman-tinyhumans/src/hosted/billing/schemas_tests.rs
@@ -135,7 +135,7 @@ fn deserialize_update_card_params() {
let params: Map<String, Value> =
serde_json::from_value(json!({"paymentMethodId": "pm_1", "payload": {"default": true}}))
.unwrap();
- let result = deserialize_params::<UpdateCardParams>(params);
+ deserialize_params::<UpdateCardParams>(params).expect("valid card update");
}
#[test]