Commit 1c4121b
Fix test_authorization_with_existing_meta to actually test _meta merging
The previous test only verified authorization injection but did not
pre-populate any _meta fields, making it indistinguishable from
test_authorization_injected_in_meta.
Now the test constructs a RequestParams with a pre-existing progressToken
in _meta, then asserts that both progressToken and authorization are
present after _send_request serialises the params - verifying that
authorization is merged rather than replacing any existing _meta content.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent b1c878b commit 1c4121b
1 file changed
+10
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
509 | 510 | | |
510 | 511 | | |
511 | 512 | | |
512 | | - | |
513 | | - | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
514 | 517 | | |
515 | | - | |
| 518 | + | |
| 519 | + | |
516 | 520 | | |
517 | 521 | | |
518 | | - | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
519 | 525 | | |
520 | 526 | | |
521 | 527 | | |
| |||
0 commit comments