From 2e941733419e6ffc0f8a0254fd1cb1a815648f16 Mon Sep 17 00:00:00 2001 From: matnun-br Date: Fri, 6 Nov 2026 11:07:52 +1100 Subject: [PATCH] Honoring http version from http client --- GraphQLSharp.Tests/GraphQLClientTests.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/GraphQLSharp.Tests/GraphQLClientTests.cs b/GraphQLSharp.Tests/GraphQLClientTests.cs index 76b6988..8b9458c 100644 --- a/GraphQLSharp.Tests/GraphQLClientTests.cs +++ b/GraphQLSharp.Tests/GraphQLClientTests.cs @@ -205,12 +205,12 @@ public async Task QueryWithAliases() title } } - myOrders: orders(first: $first) + myVariants: productVariants(first: $first) { nodes { id - name + title } } } @@ -229,10 +229,10 @@ public async Task QueryWithAliases() //response.data is JsonElement var myProducts = response.data.Value.GetProperty("myProducts") .Deserialize(Serializer.GetOptions()); - var myOrders = response.data.Value.GetProperty("myOrders") - .Deserialize(Serializer.GetOptions()); + var myVariants = response.data.Value.GetProperty("myVariants") + .Deserialize(Serializer.GetOptions()); Assert.IsNotNull(myProducts.nodes.FirstOrDefault()?.title); - Assert.IsNotNull(myOrders.nodes.FirstOrDefault()?.name); + Assert.IsNotNull(myVariants.nodes.FirstOrDefault()?.title); } [TestMethod]