From cd98dfb791a04177957461706c0c279664c78913 Mon Sep 17 00:00:00 2001 From: Danny Browning Date: Wed, 15 May 2024 12:41:23 -0600 Subject: [PATCH] fix: test due to proper unique and model --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);