fix: correct tests following strict removal of legacy json aliases

This commit is contained in:
Riz Ashraf committed 2026-10-10 08:24:42 +01:00
1 parent a9ed5ae9c8
commit 8ff43487bc
5 files changed
+4 -10

No files matched your search

+1 -2
View File
@@ -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();