Commit acd573a
committed
test: update tests to reflect correct RequestBodyPlainText routing
The test case 'test_string' was testing the old buggy behavior where
RequestBodyPlainText was routed to request_body_json. This test has been
removed and replaced with a new test case 'test_plain_text_body' in the
request_body_data test function to verify the correct behavior.
RequestBodyPlainText should route to request_body_data (like
RequestBodyUrlEncodedForm) so that plain text is sent as-is without
JSON parsing.
Co-Authored-By: unknown <>1 parent e0a2fdb commit acd573a
File tree
1 file changed
+8
-8
lines changed- unit_tests/sources/declarative/requesters/request_options
1 file changed
+8
-8
lines changedLines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | 214 | | |
223 | 215 | | |
224 | 216 | | |
| |||
345 | 337 | | |
346 | 338 | | |
347 | 339 | | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
| |||
0 commit comments