Skip to content

Commit

Permalink
chore: rename assert to test for markdown syntax (#1714)
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Burrows <[email protected]>
Co-authored-by: Tushar Mathur <[email protected]>
  • Loading branch information
3 people authored and ssddOnTop committed May 2, 2024
1 parent c0696c0 commit 101408d
Show file tree
Hide file tree
Showing 226 changed files with 103 additions and 103 deletions.
2 changes: 1 addition & 1 deletion tests/execution/add-field-index-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/add-field-modify.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type Query {
name: foo
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/add-field-with-composition.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type Query
name: foo
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/add-field-with-modify.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/add-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type Query {
name: foo
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/apollo-tracing.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type Query {
body: hello
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8000/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/auth-basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ testuser3:{SHA}Y2fEjdGT1W6nsLqtJbGUVeUp9e4=
nested: mutation nested
```
```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/auth-jwt.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ type ProtectedType @protected {
nested: mutation nested
```
```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/batching-default.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type User {
- id: 2
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/batching-disabled.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
name: Leanne Graham
```
```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/batching-group-by-default.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ type User {
name: bar
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/batching-group-by.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ type User {
name: Ervin Howell
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/batching-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ type User {
name: Leanne Graham
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/batching.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
name: foo
```
```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/cache-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
name: barfoo
```
```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/caching-collision.md
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ type Bar {
id: 99
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/call-graphql-datasource.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ type Post {
name: Ervin Howell
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/call-multiple-steps-piping.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ type Query {
}
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/call-mutation.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ type User {
userId: 1
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/call-operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/cors-allow-cred-false.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type Query {
}
```

```yml @assert
```yml @test
# the same request to validate caching
- method: OPTIONS
url: http://localhost:8080/graphql
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/cors-allow-cred-true.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type Query {
}
```

```yml @assert
```yml @test
# the same request to validate caching
- method: OPTIONS
url: http://localhost:8080/graphql
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/cors-allow-cred-vary.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type Query {
}
```

```yml @assert
```yml @test
# the same request to validate caching
- method: POST
url: http://localhost:8080/graphql
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/custom-headers.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
}
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/env-value.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ POST_ID: "2"
NESTED_POST_ID: "3"
```
```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/experimental-headers.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type User {
name: Leanne Graham
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/graphql-dataloader-batch-keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ type B {
y: 1
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/graphql-dataloader-batch-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ type Query {
name: Leanne Graham
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/graphql-dataloader-no-batch-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ type Query {
name: Ervin Howell
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/graphql-datasource-errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ type Query {
message: Failed to resolve name
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/graphql-datasource-mutation.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type UserInput {
name: Test Name
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/graphql-datasource-no-args.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type Query {
- name: Ervin Howell
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/graphql-datasource-with-args.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type Query {
name: Leanne Graham
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/grpc-batch.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/grpc-error.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ type News {
body:
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/grpc-override-url-from-upstream.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/grpc-proto-with-same-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ type Bar {
body: \0\0\0\0\n\n\x08test-bar
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/grpc-simple.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/grpc-url-from-upstream.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/https.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
name: Leanne Graham
```
```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/inline-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type Query {
name: foo
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/inline-index-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/io-cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ type Post {
name: Ervin Howell
```

```yml @assert
```yml @test
- method: POST
url: http://localhost:8080/graphql
body:
Expand Down
Loading

0 comments on commit 101408d

Please sign in to comment.