From a2d0807034be8f86d48afad277b85c4683f68374 Mon Sep 17 00:00:00 2001 From: Kunam Balaram Reddy Date: Tue, 16 Apr 2024 21:59:22 +0530 Subject: [PATCH] @assert to @test --- tests/execution/add-field-index-list.md | 2 +- tests/execution/add-field-modify.md | 2 +- tests/execution/add-field-with-composition.md | 2 +- tests/execution/add-field-with-modify.md | 2 +- tests/execution/add-field.md | 2 +- tests/execution/apollo-tracing.md | 2 +- tests/execution/auth-basic.md | 2 +- tests/execution/auth-jwt.md | 2 +- tests/execution/batching-default.md | 2 +- tests/execution/batching-disabled.md | 2 +- tests/execution/batching-group-by-default.md | 2 +- tests/execution/batching-group-by.md | 2 +- tests/execution/batching-post.md | 2 +- tests/execution/batching.md | 2 +- tests/execution/cache-control.md | 2 +- tests/execution/caching-collision.md | 2 +- tests/execution/caching.md | 2 +- tests/execution/call-graphql-datasource.md | 2 +- tests/execution/call-multiple-steps-piping.md | 2 +- tests/execution/call-mutation.md | 2 +- tests/execution/call-operator.md | 2 +- tests/execution/cors-allow-cred-false.md | 2 +- tests/execution/cors-allow-cred-true.md | 2 +- tests/execution/cors-allow-cred-vary.md | 2 +- tests/execution/custom-headers.md | 2 +- tests/execution/env-value.md | 2 +- tests/execution/experimental-headers.md | 2 +- tests/execution/graphql-dataloader-batch-keys.md | 2 +- tests/execution/graphql-dataloader-batch-request.md | 2 +- tests/execution/graphql-dataloader-no-batch-request.md | 2 +- tests/execution/graphql-datasource-errors.md | 2 +- tests/execution/graphql-datasource-mutation.md | 2 +- tests/execution/graphql-datasource-no-args.md | 2 +- tests/execution/graphql-datasource-with-args.md | 2 +- tests/execution/grpc-batch.md | 2 +- tests/execution/grpc-error.md | 2 +- tests/execution/grpc-override-url-from-upstream.md | 2 +- tests/execution/grpc-simple.md | 2 +- tests/execution/grpc-url-from-upstream.md | 2 +- tests/execution/https.md | 2 +- tests/execution/inline-field.md | 2 +- tests/execution/inline-index-list.md | 2 +- tests/execution/io-cache.md | 2 +- tests/execution/jsonplaceholder-call-post.md | 2 +- tests/execution/modified-field.md | 2 +- tests/execution/mutation-put.md | 2 +- tests/execution/mutation.md | 2 +- tests/execution/n-plus-one-list.md | 2 +- tests/execution/n-plus-one.md | 2 +- tests/execution/nested-objects.md | 2 +- tests/execution/nesting-level3.md | 2 +- tests/execution/nullable-arg-query.md | 2 +- tests/execution/omit-index-list.md | 2 +- tests/execution/omit-resolved-by-parent.md | 2 +- tests/execution/recursive-type-json.md | 2 +- tests/execution/recursive-types.md | 2 +- tests/execution/ref-other-nested.md | 2 +- tests/execution/ref-other.md | 2 +- tests/execution/rename-field.md | 2 +- tests/execution/request-to-upstream-batching.md | 2 +- tests/execution/resolve-with-headers.md | 2 +- tests/execution/resolve-with-vars.md | 2 +- tests/execution/resolved-by-parent.md | 2 +- tests/execution/rest-api-error.md | 2 +- tests/execution/rest-api-post.md | 2 +- tests/execution/rest-api.md | 2 +- tests/execution/showcase.md | 2 +- tests/execution/simple-graphql.md | 2 +- tests/execution/simple-query.md | 2 +- tests/execution/test-enum-default.md | 2 +- tests/execution/test-enum.md | 2 +- tests/execution/test-expr-with-mustache.md | 2 +- tests/execution/test-http-with-mustache-expr.md | 2 +- tests/execution/test-js-request-reponse.md | 2 +- tests/execution/test-params-as-body.md | 2 +- tests/execution/test-scalars.md | 2 +- tests/execution/test-static-value.md | 2 +- tests/execution/test-upstream-headers.md | 2 +- tests/execution/upstream-batching.md | 2 +- tests/execution/upstream-fail-request.md | 2 +- tests/execution/with-args-url.md | 2 +- tests/execution/with-args.md | 2 +- tests/execution/with-nesting.md | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/tests/execution/add-field-index-list.md b/tests/execution/add-field-index-list.md index e7fde54745c..ac6dc198445 100644 --- a/tests/execution/add-field-index-list.md +++ b/tests/execution/add-field-index-list.md @@ -26,7 +26,7 @@ type Query @addField(name: "username", path: ["users", "0", "name"]) { name: Leanne Graham ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/add-field-modify.md b/tests/execution/add-field-modify.md index 29afaf8d3cc..d9a240a8931 100644 --- a/tests/execution/add-field-modify.md +++ b/tests/execution/add-field-modify.md @@ -40,7 +40,7 @@ type Query { name: foo ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/add-field-with-composition.md b/tests/execution/add-field-with-composition.md index 59fef3df3c9..341cda6a30b 100644 --- a/tests/execution/add-field-with-composition.md +++ b/tests/execution/add-field-with-composition.md @@ -43,7 +43,7 @@ type Query name: foo ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/add-field-with-modify.md b/tests/execution/add-field-with-modify.md index 782bbae26e5..8e3d863e69a 100644 --- a/tests/execution/add-field-with-modify.md +++ b/tests/execution/add-field-with-modify.md @@ -35,7 +35,7 @@ type Query @addField(name: "user1", path: ["person1", "name"]) @addField(name: " name: Ervin Howell ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/add-field.md b/tests/execution/add-field.md index 21f186e1aff..143af2042e8 100644 --- a/tests/execution/add-field.md +++ b/tests/execution/add-field.md @@ -37,7 +37,7 @@ type Query { name: foo ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/apollo-tracing.md b/tests/execution/apollo-tracing.md index 2165f821b97..97ff0f0a855 100644 --- a/tests/execution/apollo-tracing.md +++ b/tests/execution/apollo-tracing.md @@ -22,7 +22,7 @@ type Query { body: hello ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8000/graphql body: diff --git a/tests/execution/auth-basic.md b/tests/execution/auth-basic.md index 010e10fff6f..95f413e2aa7 100644 --- a/tests/execution/auth-basic.md +++ b/tests/execution/auth-basic.md @@ -47,7 +47,7 @@ testuser3:{SHA}Y2fEjdGT1W6nsLqtJbGUVeUp9e4= nested: mutation nested ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/auth-jwt.md b/tests/execution/auth-jwt.md index fb570af9a54..d91aeb4f223 100644 --- a/tests/execution/auth-jwt.md +++ b/tests/execution/auth-jwt.md @@ -56,7 +56,7 @@ type ProtectedType @protected { nested: mutation nested ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/batching-default.md b/tests/execution/batching-default.md index cbe0e28331a..9cb95b52d7d 100644 --- a/tests/execution/batching-default.md +++ b/tests/execution/batching-default.md @@ -47,7 +47,7 @@ type User { - id: 2 ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/batching-disabled.md b/tests/execution/batching-disabled.md index 51ccfeff6fa..357a3ba902c 100644 --- a/tests/execution/batching-disabled.md +++ b/tests/execution/batching-disabled.md @@ -76,7 +76,7 @@ name: Leanne Graham ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/batching-group-by-default.md b/tests/execution/batching-group-by-default.md index 448eaf3312e..1d61ba0fa7e 100644 --- a/tests/execution/batching-group-by-default.md +++ b/tests/execution/batching-group-by-default.md @@ -55,7 +55,7 @@ type User { name: bar ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/batching-group-by.md b/tests/execution/batching-group-by.md index ba5588130f1..b82baa38bd0 100644 --- a/tests/execution/batching-group-by.md +++ b/tests/execution/batching-group-by.md @@ -55,7 +55,7 @@ type User { name: Ervin Howell ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/batching-post.md b/tests/execution/batching-post.md index eff55702cb9..8d9e2c25b32 100644 --- a/tests/execution/batching-post.md +++ b/tests/execution/batching-post.md @@ -50,7 +50,7 @@ type User { name: Leanne Graham ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/batching.md b/tests/execution/batching.md index 8fd715dac9c..e47fc054791 100644 --- a/tests/execution/batching.md +++ b/tests/execution/batching.md @@ -55,7 +55,7 @@ name: foo ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/cache-control.md b/tests/execution/cache-control.md index 99a758522fe..d6d0e1ab86f 100644 --- a/tests/execution/cache-control.md +++ b/tests/execution/cache-control.md @@ -111,7 +111,7 @@ name: barfoo ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/caching-collision.md b/tests/execution/caching-collision.md index c9bf85e36b8..786096fa915 100644 --- a/tests/execution/caching-collision.md +++ b/tests/execution/caching-collision.md @@ -929,7 +929,7 @@ type Bar { id: 99 ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/caching.md b/tests/execution/caching.md index 2b9bafa9c4d..0dd9ee76160 100644 --- a/tests/execution/caching.md +++ b/tests/execution/caching.md @@ -68,7 +68,7 @@ type TypeCache @cache(maxAge: 1000) { - id: 33 ``` -```yml @assert +```yml @test # the same request to validate caching - method: POST url: http://localhost:8080/graphql diff --git a/tests/execution/call-graphql-datasource.md b/tests/execution/call-graphql-datasource.md index f71abe0087c..143dd45bda9 100644 --- a/tests/execution/call-graphql-datasource.md +++ b/tests/execution/call-graphql-datasource.md @@ -75,7 +75,7 @@ type Post { name: Ervin Howell ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/call-multiple-steps-piping.md b/tests/execution/call-multiple-steps-piping.md index 137d3a611b5..5bec224b000 100644 --- a/tests/execution/call-multiple-steps-piping.md +++ b/tests/execution/call-multiple-steps-piping.md @@ -38,7 +38,7 @@ type Query { } ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/call-mutation.md b/tests/execution/call-mutation.md index 714c4ca3e22..118611634f8 100644 --- a/tests/execution/call-mutation.md +++ b/tests/execution/call-mutation.md @@ -112,7 +112,7 @@ type User { userId: 1 ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/call-operator.md b/tests/execution/call-operator.md index b91f1a2c85b..e5c4453759c 100644 --- a/tests/execution/call-operator.md +++ b/tests/execution/call-operator.md @@ -168,7 +168,7 @@ type Post { body: \0\0\0\0t\n#\x08\x01\x12\x06Note 1\x1a\tContent 1\"\x0cPost image 1\n#\x08\x02\x12\x06Note 2\x1a\tContent 2\"\x0cPost image 2 ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/cors-allow-cred-false.md b/tests/execution/cors-allow-cred-false.md index 2e6a0056268..b6b6d96143c 100644 --- a/tests/execution/cors-allow-cred-false.md +++ b/tests/execution/cors-allow-cred-false.md @@ -22,7 +22,7 @@ type Query { } ``` -```yml @assert +```yml @test # the same request to validate caching - method: OPTIONS url: http://localhost:8080/graphql diff --git a/tests/execution/cors-allow-cred-true.md b/tests/execution/cors-allow-cred-true.md index 3a1d2be223c..5ffed351128 100644 --- a/tests/execution/cors-allow-cred-true.md +++ b/tests/execution/cors-allow-cred-true.md @@ -22,7 +22,7 @@ type Query { } ``` -```yml @assert +```yml @test # the same request to validate caching - method: OPTIONS url: http://localhost:8080/graphql diff --git a/tests/execution/cors-allow-cred-vary.md b/tests/execution/cors-allow-cred-vary.md index 99deee2bd71..b1a131542c1 100644 --- a/tests/execution/cors-allow-cred-vary.md +++ b/tests/execution/cors-allow-cred-vary.md @@ -22,7 +22,7 @@ type Query { } ``` -```yml @assert +```yml @test # the same request to validate caching - method: POST url: http://localhost:8080/graphql diff --git a/tests/execution/custom-headers.md b/tests/execution/custom-headers.md index 636ae90a810..209130d669d 100644 --- a/tests/execution/custom-headers.md +++ b/tests/execution/custom-headers.md @@ -37,7 +37,7 @@ } ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/env-value.md b/tests/execution/env-value.md index ea3fc1405ee..4afa443e79a 100644 --- a/tests/execution/env-value.md +++ b/tests/execution/env-value.md @@ -104,7 +104,7 @@ POST_ID: "2" NESTED_POST_ID: "3" ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/experimental-headers.md b/tests/execution/experimental-headers.md index 70981ba1db8..f2c730e5e5a 100644 --- a/tests/execution/experimental-headers.md +++ b/tests/execution/experimental-headers.md @@ -31,7 +31,7 @@ type User { name: Leanne Graham ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/graphql-dataloader-batch-keys.md b/tests/execution/graphql-dataloader-batch-keys.md index 171b0c054b7..0d0a64401da 100644 --- a/tests/execution/graphql-dataloader-batch-keys.md +++ b/tests/execution/graphql-dataloader-batch-keys.md @@ -85,7 +85,7 @@ type B { y: 1 ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/graphql-dataloader-batch-request.md b/tests/execution/graphql-dataloader-batch-request.md index 3cbe4be85ea..4f8f5cfb64f 100644 --- a/tests/execution/graphql-dataloader-batch-request.md +++ b/tests/execution/graphql-dataloader-batch-request.md @@ -76,7 +76,7 @@ type Query { name: Leanne Graham ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/graphql-dataloader-no-batch-request.md b/tests/execution/graphql-dataloader-no-batch-request.md index 825f07c2710..985f85df0ed 100644 --- a/tests/execution/graphql-dataloader-no-batch-request.md +++ b/tests/execution/graphql-dataloader-no-batch-request.md @@ -64,7 +64,7 @@ type Query { name: Ervin Howell ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/graphql-datasource-errors.md b/tests/execution/graphql-datasource-errors.md index 640a6eb1d79..f0f34005fb0 100644 --- a/tests/execution/graphql-datasource-errors.md +++ b/tests/execution/graphql-datasource-errors.md @@ -50,7 +50,7 @@ type Query { message: Failed to resolve name ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/graphql-datasource-mutation.md b/tests/execution/graphql-datasource-mutation.md index c5f2d93f80b..72b580dd891 100644 --- a/tests/execution/graphql-datasource-mutation.md +++ b/tests/execution/graphql-datasource-mutation.md @@ -40,7 +40,7 @@ type UserInput { name: Test Name ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/graphql-datasource-no-args.md b/tests/execution/graphql-datasource-no-args.md index ea009251ab8..36e05d8d45a 100644 --- a/tests/execution/graphql-datasource-no-args.md +++ b/tests/execution/graphql-datasource-no-args.md @@ -29,7 +29,7 @@ type Query { - name: Ervin Howell ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/graphql-datasource-with-args.md b/tests/execution/graphql-datasource-with-args.md index ebcafeb5360..e932eb4ac3c 100644 --- a/tests/execution/graphql-datasource-with-args.md +++ b/tests/execution/graphql-datasource-with-args.md @@ -48,7 +48,7 @@ type Query { name: Leanne Graham ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/grpc-batch.md b/tests/execution/grpc-batch.md index a06e2376cb5..c6787a083ec 100644 --- a/tests/execution/grpc-batch.md +++ b/tests/execution/grpc-batch.md @@ -82,7 +82,7 @@ type News { body: \0\0\0\0t\n#\x08\x02\x12\x06Note 2\x1a\tContent 2\"\x0cPost image 2\n#\x08\x03\x12\x06Note 3\x1a\tContent 3\"\x0cPost image 3 ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/grpc-error.md b/tests/execution/grpc-error.md index 3170a4d6121..d5185656547 100644 --- a/tests/execution/grpc-error.md +++ b/tests/execution/grpc-error.md @@ -82,7 +82,7 @@ type News { body: ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/grpc-override-url-from-upstream.md b/tests/execution/grpc-override-url-from-upstream.md index ffde081bc24..a481c7219d7 100644 --- a/tests/execution/grpc-override-url-from-upstream.md +++ b/tests/execution/grpc-override-url-from-upstream.md @@ -77,7 +77,7 @@ type News { body: \0\0\0\0t\n#\x08\x01\x12\x06Note 1\x1a\tContent 1\"\x0cPost image 1\n#\x08\x02\x12\x06Note 2\x1a\tContent 2\"\x0cPost image 2 ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/grpc-simple.md b/tests/execution/grpc-simple.md index f1e968fcec2..ac4e808ef95 100644 --- a/tests/execution/grpc-simple.md +++ b/tests/execution/grpc-simple.md @@ -77,7 +77,7 @@ type News { body: \0\0\0\0t\n#\x08\x01\x12\x06Note 1\x1a\tContent 1\"\x0cPost image 1\n#\x08\x02\x12\x06Note 2\x1a\tContent 2\"\x0cPost image 2 ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/grpc-url-from-upstream.md b/tests/execution/grpc-url-from-upstream.md index 84375c69f61..3bf49ea6081 100644 --- a/tests/execution/grpc-url-from-upstream.md +++ b/tests/execution/grpc-url-from-upstream.md @@ -76,7 +76,7 @@ type News { body: \0\0\0\0t\n#\x08\x01\x12\x06Note 1\x1a\tContent 1\"\x0cPost image 1\n#\x08\x02\x12\x06Note 2\x1a\tContent 2\"\x0cPost image 2 ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/https.md b/tests/execution/https.md index 582903eac27..6ecc5270983 100644 --- a/tests/execution/https.md +++ b/tests/execution/https.md @@ -52,7 +52,7 @@ name: Leanne Graham ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/inline-field.md b/tests/execution/inline-field.md index fec966def1d..5ce02d1deeb 100644 --- a/tests/execution/inline-field.md +++ b/tests/execution/inline-field.md @@ -37,7 +37,7 @@ type Query { name: foo ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/inline-index-list.md b/tests/execution/inline-index-list.md index 8775a604521..338b6e01ab0 100644 --- a/tests/execution/inline-index-list.md +++ b/tests/execution/inline-index-list.md @@ -26,7 +26,7 @@ type Query @addField(name: "username", path: ["username", "0", "name"]) { name: Leanne Graham ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/io-cache.md b/tests/execution/io-cache.md index 2dd753222ae..0338142463e 100644 --- a/tests/execution/io-cache.md +++ b/tests/execution/io-cache.md @@ -67,7 +67,7 @@ type Post { name: Ervin Howell ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/jsonplaceholder-call-post.md b/tests/execution/jsonplaceholder-call-post.md index 06ff15cc92f..43c0a967a47 100644 --- a/tests/execution/jsonplaceholder-call-post.md +++ b/tests/execution/jsonplaceholder-call-post.md @@ -44,7 +44,7 @@ type Post { name: Leanne Graham ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/modified-field.md b/tests/execution/modified-field.md index 1532882d712..3514b15ba37 100644 --- a/tests/execution/modified-field.md +++ b/tests/execution/modified-field.md @@ -26,7 +26,7 @@ type Query { name: Leanne Graham ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/mutation-put.md b/tests/execution/mutation-put.md index 3c60a9f45f5..899abbfe166 100644 --- a/tests/execution/mutation-put.md +++ b/tests/execution/mutation-put.md @@ -45,7 +45,7 @@ type User { body: abc ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/mutation.md b/tests/execution/mutation.md index 0f43edda110..6d36eb80bf6 100644 --- a/tests/execution/mutation.md +++ b/tests/execution/mutation.md @@ -46,7 +46,7 @@ type User { userId: 1 ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/n-plus-one-list.md b/tests/execution/n-plus-one-list.md index 2833005547c..07e3655c774 100644 --- a/tests/execution/n-plus-one-list.md +++ b/tests/execution/n-plus-one-list.md @@ -52,7 +52,7 @@ type Bar { name: foo2 ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/n-plus-one.md b/tests/execution/n-plus-one.md index 52c948a95fe..52e1c0b2a60 100644 --- a/tests/execution/n-plus-one.md +++ b/tests/execution/n-plus-one.md @@ -48,7 +48,7 @@ type Bar { id: 2 ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/nested-objects.md b/tests/execution/nested-objects.md index fc6888ab8cf..88280a0c981 100644 --- a/tests/execution/nested-objects.md +++ b/tests/execution/nested-objects.md @@ -39,7 +39,7 @@ type Query { name: foo ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/nesting-level3.md b/tests/execution/nesting-level3.md index 5774f34b51b..02c44abdc35 100644 --- a/tests/execution/nesting-level3.md +++ b/tests/execution/nesting-level3.md @@ -64,7 +64,7 @@ type Post { - completed: false ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/nullable-arg-query.md b/tests/execution/nullable-arg-query.md index 9a6fd156566..6a0b191a551 100644 --- a/tests/execution/nullable-arg-query.md +++ b/tests/execution/nullable-arg-query.md @@ -44,7 +44,7 @@ type User { - id: 1 ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/omit-index-list.md b/tests/execution/omit-index-list.md index 8775a604521..338b6e01ab0 100644 --- a/tests/execution/omit-index-list.md +++ b/tests/execution/omit-index-list.md @@ -26,7 +26,7 @@ type Query @addField(name: "username", path: ["username", "0", "name"]) { name: Leanne Graham ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/omit-resolved-by-parent.md b/tests/execution/omit-resolved-by-parent.md index 4643035118e..690fd33151f 100644 --- a/tests/execution/omit-resolved-by-parent.md +++ b/tests/execution/omit-resolved-by-parent.md @@ -32,7 +32,7 @@ type User @addField(name: "address", path: ["address", "street"]) { name: foo ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/recursive-type-json.md b/tests/execution/recursive-type-json.md index 8e590dd64eb..2655349b845 100644 --- a/tests/execution/recursive-type-json.md +++ b/tests/execution/recursive-type-json.md @@ -70,7 +70,7 @@ name: User2 ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/recursive-types.md b/tests/execution/recursive-types.md index c1f7bcb4616..9195f64644c 100644 --- a/tests/execution/recursive-types.md +++ b/tests/execution/recursive-types.md @@ -37,7 +37,7 @@ type Query { name: User2 ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/ref-other-nested.md b/tests/execution/ref-other-nested.md index 540ffa2b83d..15b6078488e 100644 --- a/tests/execution/ref-other-nested.md +++ b/tests/execution/ref-other-nested.md @@ -75,7 +75,7 @@ name: Leanne Graham ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/ref-other.md b/tests/execution/ref-other.md index bd8c5f65d68..cf80ec91e8e 100644 --- a/tests/execution/ref-other.md +++ b/tests/execution/ref-other.md @@ -31,7 +31,7 @@ type Query { name: Leanne Graham ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/rename-field.md b/tests/execution/rename-field.md index a94d14e77ac..60cb6c145ad 100644 --- a/tests/execution/rename-field.md +++ b/tests/execution/rename-field.md @@ -35,7 +35,7 @@ type Query { name: Ervin Howell ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/request-to-upstream-batching.md b/tests/execution/request-to-upstream-batching.md index 1523aef6744..bc02588b20c 100644 --- a/tests/execution/request-to-upstream-batching.md +++ b/tests/execution/request-to-upstream-batching.md @@ -75,7 +75,7 @@ name: bar ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/resolve-with-headers.md b/tests/execution/resolve-with-headers.md index 71e32c0f410..27b13df5bc3 100644 --- a/tests/execution/resolve-with-headers.md +++ b/tests/execution/resolve-with-headers.md @@ -32,7 +32,7 @@ type Query { title: post title ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql headers: diff --git a/tests/execution/resolve-with-vars.md b/tests/execution/resolve-with-vars.md index 4839bbe4833..cf68e32bb9c 100644 --- a/tests/execution/resolve-with-vars.md +++ b/tests/execution/resolve-with-vars.md @@ -28,7 +28,7 @@ type Query { name: Leanne Graham ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/resolved-by-parent.md b/tests/execution/resolved-by-parent.md index 4643035118e..690fd33151f 100644 --- a/tests/execution/resolved-by-parent.md +++ b/tests/execution/resolved-by-parent.md @@ -32,7 +32,7 @@ type User @addField(name: "address", path: ["address", "street"]) { name: foo ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/rest-api-error.md b/tests/execution/rest-api-error.md index 478aae1b1d6..a1f711f9e96 100644 --- a/tests/execution/rest-api-error.md +++ b/tests/execution/rest-api-error.md @@ -37,7 +37,7 @@ type User { body: {} ``` -```yml @assert +```yml @test - method: GET url: http://localhost:8080/api/user/1 ``` diff --git a/tests/execution/rest-api-post.md b/tests/execution/rest-api-post.md index 60bdd4dc628..317013751b5 100644 --- a/tests/execution/rest-api-post.md +++ b/tests/execution/rest-api-post.md @@ -41,7 +41,7 @@ type User { name: foo ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/api/user/1 ``` diff --git a/tests/execution/rest-api.md b/tests/execution/rest-api.md index 75e3a4d9f01..6d4f5175af7 100644 --- a/tests/execution/rest-api.md +++ b/tests/execution/rest-api.md @@ -41,7 +41,7 @@ type User { name: foo ``` -```yml @assert +```yml @test - method: GET url: http://localhost:8080/api/user/1 ``` diff --git a/tests/execution/showcase.md b/tests/execution/showcase.md index e26f4af3b8f..b8ff81dc537 100644 --- a/tests/execution/showcase.md +++ b/tests/execution/showcase.md @@ -47,7 +47,7 @@ type Query { body: dsjfsjdfjdsfjkdskjfjkds ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/showcase/graphql?config=http%3A%2F%2Fexample.com%2Fsimple.graphql body: diff --git a/tests/execution/simple-graphql.md b/tests/execution/simple-graphql.md index 0854639c296..0dafcf3d2d2 100644 --- a/tests/execution/simple-graphql.md +++ b/tests/execution/simple-graphql.md @@ -29,7 +29,7 @@ type Query { name: foo ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/simple-query.md b/tests/execution/simple-query.md index db82cc39131..14ef9777302 100644 --- a/tests/execution/simple-query.md +++ b/tests/execution/simple-query.md @@ -51,7 +51,7 @@ name: foo ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/test-enum-default.md b/tests/execution/test-enum-default.md index e8e76d9842a..b7af57e5cd3 100644 --- a/tests/execution/test-enum-default.md +++ b/tests/execution/test-enum-default.md @@ -71,7 +71,7 @@ type NewsData { body: '\0\0\0\0s\n#\x08\x01\x12\x06Note 1\x1a\tContent 1\"\x0cPost image 1\n%\x08\x02\x12\x06Note 2\x1a\tContent 2\"\x0cPost image 2(\x01\n%\x08\x03\x12\x06Note 3\x1a\tContent 3\"\x0cPost image 3(\x02' ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/test-enum.md b/tests/execution/test-enum.md index fa2fe74588a..ee7fd4409b9 100644 --- a/tests/execution/test-enum.md +++ b/tests/execution/test-enum.md @@ -19,7 +19,7 @@ type Query { } ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/test-expr-with-mustache.md b/tests/execution/test-expr-with-mustache.md index ec5837c05d4..a4d79e8ead1 100644 --- a/tests/execution/test-expr-with-mustache.md +++ b/tests/execution/test-expr-with-mustache.md @@ -30,7 +30,7 @@ type D { } ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8000/graphql body: diff --git a/tests/execution/test-http-with-mustache-expr.md b/tests/execution/test-http-with-mustache-expr.md index 4b1b45d582d..9fc86007946 100644 --- a/tests/execution/test-http-with-mustache-expr.md +++ b/tests/execution/test-http-with-mustache-expr.md @@ -37,7 +37,7 @@ type D { f: true ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8000/graphql body: diff --git a/tests/execution/test-js-request-reponse.md b/tests/execution/test-js-request-reponse.md index 0fa7cfaa55e..6ed9a027019 100644 --- a/tests/execution/test-js-request-reponse.md +++ b/tests/execution/test-js-request-reponse.md @@ -42,7 +42,7 @@ type Query { body: hello world ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/test-params-as-body.md b/tests/execution/test-params-as-body.md index a1f8a9fb68a..f5d72b0a372 100644 --- a/tests/execution/test-params-as-body.md +++ b/tests/execution/test-params-as-body.md @@ -27,7 +27,7 @@ type User { name: foo ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/test-scalars.md b/tests/execution/test-scalars.md index b33a30de374..6f012dcd6cc 100644 --- a/tests/execution/test-scalars.md +++ b/tests/execution/test-scalars.md @@ -18,7 +18,7 @@ type Query { } ``` -```yml @assert +```yml @test # Valid value tests - method: POST url: http://localhost:8000/graphql diff --git a/tests/execution/test-static-value.md b/tests/execution/test-static-value.md index 7a1cf9944fc..63d17357f2a 100644 --- a/tests/execution/test-static-value.md +++ b/tests/execution/test-static-value.md @@ -50,7 +50,7 @@ name: Leanne Graham ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/test-upstream-headers.md b/tests/execution/test-upstream-headers.md index 29caf23ea4f..fe2f6435651 100644 --- a/tests/execution/test-upstream-headers.md +++ b/tests/execution/test-upstream-headers.md @@ -33,7 +33,7 @@ type Post { userId: 2 ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8000/graphql headers: diff --git a/tests/execution/upstream-batching.md b/tests/execution/upstream-batching.md index 1f938623fd0..2cbc3376928 100644 --- a/tests/execution/upstream-batching.md +++ b/tests/execution/upstream-batching.md @@ -72,7 +72,7 @@ name: bar ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/upstream-fail-request.md b/tests/execution/upstream-fail-request.md index 8d6c82cd9a7..886ac9d9231 100644 --- a/tests/execution/upstream-fail-request.md +++ b/tests/execution/upstream-fail-request.md @@ -25,7 +25,7 @@ type Query { body: {} ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/with-args-url.md b/tests/execution/with-args-url.md index e22b8772d51..b494e1082c2 100644 --- a/tests/execution/with-args-url.md +++ b/tests/execution/with-args-url.md @@ -60,7 +60,7 @@ name: foo ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/with-args.md b/tests/execution/with-args.md index a4d6518cd42..bd02d28d478 100644 --- a/tests/execution/with-args.md +++ b/tests/execution/with-args.md @@ -27,7 +27,7 @@ type Query { name: Leanne Graham ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: diff --git a/tests/execution/with-nesting.md b/tests/execution/with-nesting.md index db8cceb9d81..6fb90ee23eb 100644 --- a/tests/execution/with-nesting.md +++ b/tests/execution/with-nesting.md @@ -51,7 +51,7 @@ type Post { - title: title3 ``` -```yml @assert +```yml @test - method: POST url: http://localhost:8080/graphql body: