Commit 2b29d62
committed
fix(oauth): update DCR integration test for skip-invalid behavior
Commit b8b4acd changed validate_redirect_uris to skip invalid redirect URIs (only failing when zero valid URIs remain) and updated the inline unit tests in crates/mcpmux-gateway/src/oauth/dcr.rs, but missed the duplicate test in the integration crate. The stale test_mixed_valid_invalid_rejected asserted the old reject-the-whole-batch behavior and failed on all three rust-test platforms.
Replace it with test_mixed_valid_invalid_passes (mix now succeeds) and add test_all_invalid_rejected (zero valid URIs still fails), matching the new semantics and the inline tests.
Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>1 parent 938e633 commit 2b29d62
1 file changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
79 | 91 | | |
80 | 92 | | |
81 | 93 | | |
| |||
0 commit comments