Skip to content

Commit

Permalink
fixup! feat(query-engine): Add test for UUIDv7 functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
mcuelenaere committed Jun 25, 2024
1 parent 7a2fbdf commit 81642e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ mod uuid_create_graphql {
// Test findUnique
let res = run_query_json!(
&runner,
r#"query { findUniqueTodo(where: { title: "the title" }) { id }}"#
format!(r#"query {{ findUniqueTodo(where: {{ id: "{}" }}) {{ id }} }}"#, uuid)
);
if let serde_json::Value::String(str) = &res["data"]["findUniqueTodo"]["id"] {
assert_eq!(str, uuid);
Expand Down

0 comments on commit 81642e5

Please sign in to comment.