test(server): cover authenticated file transfer flow

- test: exercise register, login, empty listing, small-file upload, updated listing, and authenticated download through the HTTP router.
- docs: mark the small-file integration flow as covered in the server roadmap.
This commit is contained in:
2026-07-15 20:06:40 +08:00
parent 159bb27493
commit 99e5758d4c
2 changed files with 193 additions and 1 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ Package-level implementation order (each task includes unit tests):
10. `internal/handler` — auth, account, file, admin handlers 🛠 (HTTP DTO mapping in place)
11. `internal/server` — Gin router, route registration, graceful shutdown ✅
12. `cmd/serve.go`, `cmd/config.go`, `cmd/status.go` ✅ (serve done)
13. Integration tests
13. Integration tests 🛠 (authenticated register → login → upload → list → download route flow covered with a small file)
14. Architecture boundary tests ✅
## Future