fix: correct tests following strict removal of legacy json aliases
This commit is contained in:
1 parent
a9ed5ae9c8
commit
8ff43487bc
5 files changed
+4
-10
No files matched your search
@@ -1369,10 +1369,9 @@ mod tests {
|
||||
.unwrap();
|
||||
assert!(res.contains("Successfully created 1 relation(s)"));
|
||||
|
||||
// Test serde field aliases (source/target/relationType mapped to from/to/relation_type)
|
||||
let alias_args = json!({
|
||||
"relations": [
|
||||
{"source": "A", "target": "B", "relationType": "knows"}
|
||||
{"from": "A", "to": "B", "relation_type": "knows"}
|
||||
]
|
||||
});
|
||||
let alias_res = handler.execute(alias_args, state.clone()).await.unwrap();
|
||||
|
||||
Reference in new issue
Block a user