From 655db85e4fec70794a8f3481d716408cd2d0a163 Mon Sep 17 00:00:00 2001 From: Jacek Malec Date: Tue, 7 Jan 2025 14:43:27 +0000 Subject: [PATCH] fix: change more tests to ensure ordering --- .../tests/queries/filters/extended_relation_filters.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/filters/extended_relation_filters.rs b/query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/filters/extended_relation_filters.rs index f7e8feff10d..07d0a251075 100644 --- a/query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/filters/extended_relation_filters.rs +++ b/query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/filters/extended_relation_filters.rs @@ -154,8 +154,13 @@ mod ext_rel_filters { test_data(&runner).await?; insta::assert_snapshot!( - run_query!(&runner, r#"{ findManyArtist(where: { Albums: { every: { Title: { contains: "Album" }}}}) { Name }}"#), - @r###"{"data":{"findManyArtist":[{"Name":"CompleteArtist"},{"Name":"ArtistWithoutAlbums"},{"Name":"ArtistWithOneAlbumWithoutTracks"},{"Name":"CompleteArtist2"},{"Name":"CompleteArtistWith2Albums"}]}}"### + run_query!(&runner, r#"{ + findManyArtist( + where: { Albums: { every: { Title: { contains: "Album" }}}} + orderBy: { Name: asc } + ) { Name } + }"#), + @r###"{"data":{"findManyArtist":[{"Name":"ArtistWithOneAlbumWithoutTracks"},{"Name":"ArtistWithoutAlbums"},{"Name":"CompleteArtist"},{"Name":"CompleteArtist2"},{"Name":"CompleteArtistWith2Albums"}]}}"### ); insta::assert_snapshot!(