From c9eeb16bbf1498466592a555288b31c954e766c6 Mon Sep 17 00:00:00 2001 From: Heikel Bouzayene Date: Thu, 10 Oct 2024 14:54:09 +0100 Subject: [PATCH] fix integration test graphql-conformance-018.md --- tests/execution/graphql-conformance-018.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/execution/graphql-conformance-018.md b/tests/execution/graphql-conformance-018.md index 27077b9067..0427635cbe 100644 --- a/tests/execution/graphql-conformance-018.md +++ b/tests/execution/graphql-conformance-018.md @@ -1,5 +1,4 @@ - -# Basic queries with modify field check +# Basic queries with field modify check ```graphql @config schema @@ -14,7 +13,7 @@ type Query { type User { id: ID! - name: String! + name: String! @modify(name: "newName") city: String } ``` @@ -23,7 +22,7 @@ type User { - request: method: POST url: http://upstream/graphql - textBody: '{ "query": "query { user(id: 4) { city name } }" }' + textBody: '{ "query": "query { user(id: 4) { city name } }" }' expectedHits: 1 response: status: 200 @@ -31,19 +30,20 @@ type User { data: user: city: Globe - newName: Tailcall + name: Tailcall + ``` ```yml @test -# Positive: basic 1 - method: POST - url: http://localhost:8001/graphql + url: http://localhost:8080/graphql body: query: | - { + query getUser { user(id: 4) { + city newName - email } } + ```