diff --git a/src/lib.rs b/src/lib.rs index d9af357..9268a53 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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);