Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
Fix api serialize test
Browse files Browse the repository at this point in the history
  • Loading branch information
MalteJanz committed Jun 23, 2024
1 parent f82e2ec commit 22c6a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,6 @@ mod tests {
});

let json = serde_json::to_string(&criteria).unwrap();
assert_eq!(json, "{\"limit\":10,\"page\":2,\"filter\":[{\"type\":\"Equals\",\"field\":\"parentId\",\"value\":null}]}");
assert_eq!(json, "{\"limit\":10,\"page\":2,\"filter\":[{\"type\":\"equals\",\"field\":\"parentId\",\"value\":null}]}");
}
}

0 comments on commit 22c6a84

Please sign in to comment.