From 1c61a8fc42b81e48bcd4db5e7823d17e22df7bd4 Mon Sep 17 00:00:00 2001 From: laststylebender Date: Mon, 9 Dec 2024 12:06:38 +0530 Subject: [PATCH] - fix body for tests --- tests/execution/body-batching-cases.md | 6 +++--- tests/execution/body-batching.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/execution/body-batching-cases.md b/tests/execution/body-batching-cases.md index f7d0b09bd8..a8e124a49a 100644 --- a/tests/execution/body-batching-cases.md +++ b/tests/execution/body-batching-cases.md @@ -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: @@ -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: @@ -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: diff --git a/tests/execution/body-batching.md b/tests/execution/body-batching.md index b22a9406c8..a5fce54fce 100644 --- a/tests/execution/body-batching.md +++ b/tests/execution/body-batching.md @@ -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