significantly simplified the validator and work continues on query
This commit is contained in:
15
tests/lib.rs
15
tests/lib.rs
@ -89,20 +89,7 @@ fn test_library_api() {
|
||||
})
|
||||
);
|
||||
|
||||
// 6. Mask Happy Path
|
||||
let mask_drop = mask_json_schema(
|
||||
"test_schema",
|
||||
JsonB(json!({"name": "Neo", "extra": "data"})),
|
||||
);
|
||||
assert_eq!(
|
||||
mask_drop.0,
|
||||
json!({
|
||||
"type": "drop",
|
||||
"response": {"name": "Neo"}
|
||||
})
|
||||
);
|
||||
|
||||
// 7. Clear Schemas
|
||||
// 6. Clear Schemas
|
||||
let clear_drop = clear_json_schemas();
|
||||
assert_eq!(
|
||||
clear_drop.0,
|
||||
|
||||
Reference in New Issue
Block a user