Commit 3ebeee0
test(auth): align register tests with 1–31 char username policy
Replaces an orphan assertion that expected a 3-char minimum (never implemented) with one that confirms a single-char username is accepted. Updates the >31 assertion to match the handler's actual "31 characters or fewer" message.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b871f89 commit 3ebeee0
1 file changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
352 | | - | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
353 | 355 | | |
354 | | - | |
355 | | - | |
356 | | - | |
| 356 | + | |
| 357 | + | |
357 | 358 | | |
358 | 359 | | |
359 | 360 | | |
| |||
363 | 364 | | |
364 | 365 | | |
365 | 366 | | |
366 | | - | |
| 367 | + | |
367 | 368 | | |
368 | 369 | | |
369 | 370 | | |
| |||
0 commit comments