diff --git a/README.md b/README.md index 2d232f33..7d9afaa4 100644 --- a/README.md +++ b/README.md @@ -562,8 +562,6 @@ services: avatar } } - headers: - Content-Type: application/json # XXX: as of v1.9.2, this header is automatically added when graphql is set to true conditions: - "[STATUS] == 200" - "[BODY].data.users[0].gender == female" diff --git a/core/service_test.go b/core/service_test.go index fa908165..6e9a0fc9 100644 --- a/core/service_test.go +++ b/core/service_test.go @@ -188,7 +188,7 @@ func TestService_buildHTTPRequestWithGraphQLEnabled(t *testing.T) { Conditions: []*Condition{&condition}, GraphQL: true, Body: `{ - user(gender: "female") { + users(gender: "female") { id name gender