Skip to content

Commit

Permalink
- fix body for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
laststylebender14 committed Dec 9, 2024
1 parent 163de1b commit 1c61a8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tests/execution/body-batching-cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ type Post {
- request:
method: POST
url: http://jsonplaceholder.typicode.com/posts
body: [{"userId": 1, "title": "title", "body": "body"}, {"userId": 2, "title": "title", "body": "body"}]
body: [{"userId": "1", "title": "title", "body": "body"}, {"userId": "2", "title": "title", "body": "body"}]
response:
status: 200
body:
Expand Down Expand Up @@ -99,7 +99,7 @@ type Post {
- request:
method: POST
url: http://jsonplaceholder.typicode.com/users
body: [{"key": "id", "value": 1}, {"key": "id", "value": 2}]
body: [{"key": "id", "value": "1"}, {"key": "id", "value": "2"}]
response:
status: 200
body:
Expand All @@ -126,7 +126,7 @@ type Post {
- request:
method: POST
url: http://jsonplaceholder.typicode.com/bar
body: [{"id": 11}, {"id": 21}]
body: [{"id": "11"}, {"id": "21"}]
response:
status: 200
body:
Expand Down
6 changes: 3 additions & 3 deletions tests/execution/body-batching.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ type Comment {
url: https://jsonplaceholder.typicode.com/posts
body:
[
{"userId": 1, "title": "foo", "body": "bar"},
{"userId": 2, "title": "foo", "body": "bar"},
{"userId": 3, "title": "foo", "body": "bar"},
{"userId": "1", "title": "foo", "body": "bar"},
{"userId": "2", "title": "foo", "body": "bar"},
{"userId": "3", "title": "foo", "body": "bar"},
]
response:
status: 200
Expand Down

0 comments on commit 1c61a8f

Please sign in to comment.