Commit 33d9fb2
committed
test: add regression test for invalid_uuid reason on upload_chunk
The previous PR moved the UUID parse check above the store.get lookup
so the 'invalid_uuid' reason code is actually emitted. Add a regression
test that asserts the response body for a malformed UUID contains
reason="invalid_uuid" (pre-fix it would have been
"expired_or_unknown").1 parent 832b8b6 commit 33d9fb2
1 file changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2485 | 2485 | | |
2486 | 2486 | | |
2487 | 2487 | | |
| 2488 | + | |
| 2489 | + | |
| 2490 | + | |
| 2491 | + | |
| 2492 | + | |
| 2493 | + | |
| 2494 | + | |
| 2495 | + | |
| 2496 | + | |
| 2497 | + | |
| 2498 | + | |
| 2499 | + | |
| 2500 | + | |
| 2501 | + | |
| 2502 | + | |
| 2503 | + | |
| 2504 | + | |
| 2505 | + | |
| 2506 | + | |
| 2507 | + | |
| 2508 | + | |
| 2509 | + | |
| 2510 | + | |
2488 | 2511 | | |
2489 | 2512 | | |
2490 | 2513 | | |
| |||
0 commit comments