Skip to content

Commit

Permalink
fix: test due to proper unique and model
Browse files Browse the repository at this point in the history
  • Loading branch information
dbcfd committed May 15, 2024
1 parent 4a6c046 commit cd98dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ pub mod tests {
.query(&model, Some(filter), Pagination::default())
.await
.unwrap();
assert_eq!(res.edges.len(), 1);
assert!(res.edges.len() > 0);
let node = &res.edges[0].node;
let result: Ball = serde_json::from_value(node.content.clone()).unwrap();
assert_eq!(result.blue, 10);
Expand Down

0 comments on commit cd98dfb

Please sign in to comment.