adorsys / adorsys/status-list-server
Add end-to-end auth and authorization regression tests
- 主要語言
- Rust
- 星號
- 22
- 分支
- 5
- 平均合併
- 2 天 11 小時
- 30 天內合併 PR
- 47
描述
## Objective
Add end-to-end auth and authorization regression tests for issuer registration, publishing, updating, and cross-issuer denial.
## Context
The code has unit tests and demo notebooks for important flows, but the auth hardening work should have reliable automated coverage that runs in CI and protects against regressions.
## Deliverables
- [ ] Add integration tests for unregistered issuer publish/update denial.
- [ ] Add tests for issuer A attempting to update issuer B's status list.
- [ ] Add tests for credential registration/rotation rules after those are defined.
- [ ] Add tests for malformed Authorization headers and invalid JWTs at the router level.
- [ ] Ensure tests run under the default in-memory feature profile.
## Acceptance Criteria
- [ ] Auth regressions fail CI without requiring Docker or external services.
- [ ] Tests cover both `PUT` and `PATCH` management endpoints.
- [ ] Tests assert HTTP status and response body shape where stable.
## Verification
- [ ] `cargo nextest run --workspace --all-targets --features memory`
貢獻指南
評估
這個 Issue 還沒有評估資料。