pub fn assert_json_missing_field(json: &Value, field: &str)Expand description
Assert that JSON does not contain a field
ยงExamples
use reinhardt_testkit::assertions::assert_json_missing_field;
use serde_json::json;
let data = json!({"name": "John"});
assert_json_missing_field(&data, "age");