@@ -178,7 +178,7 @@ def test_batch_allows_post_with_json_encoding(client):
178
178
assert response .status_code == 200
179
179
assert response_json (response ) == [{
180
180
'id' : 1 ,
181
- 'payload' : { ' data' : {'test' : "Hello World" } },
181
+ 'data' : {'test' : "Hello World" },
182
182
'status' : 200 ,
183
183
}]
184
184
@@ -233,7 +233,7 @@ def test_batch_supports_post_json_query_with_string_variables(client):
233
233
assert response .status_code == 200
234
234
assert response_json (response ) == [{
235
235
'id' : 1 ,
236
- 'payload' : { ' data' : {'test' : "Hello Dolly" } },
236
+ 'data' : {'test' : "Hello Dolly" },
237
237
'status' : 200 ,
238
238
}]
239
239
@@ -260,7 +260,7 @@ def test_batch_supports_post_json_query_with_json_variables(client):
260
260
assert response .status_code == 200
261
261
assert response_json (response ) == [{
262
262
'id' : 1 ,
263
- 'payload' : { ' data' : {'test' : "Hello Dolly" } },
263
+ 'data' : {'test' : "Hello Dolly" },
264
264
'status' : 200 ,
265
265
}]
266
266
@@ -356,11 +356,9 @@ def test_batch_allows_post_with_operation_name(client):
356
356
assert response .status_code == 200
357
357
assert response_json (response ) == [{
358
358
'id' : 1 ,
359
- 'payload' : {
360
- 'data' : {
361
- 'test' : 'Hello World' ,
362
- 'shared' : 'Hello Everyone'
363
- }
359
+ 'data' : {
360
+ 'test' : 'Hello World' ,
361
+ 'shared' : 'Hello Everyone'
364
362
},
365
363
'status' : 200 ,
366
364
}]
0 commit comments