brewlog/tests/server
copilot-swe-agent[bot] 1747a77a83
refactor(test): simplify CLI tests with shared server and remove unused TestApp helpers
- Remove unused post/put/delete/get helper methods from TestApp
- Create shared test server instance for all CLI tests using once_cell
- Use API directly to create tokens for testing (avoids interactive CLI issues)
- Simplify CLI test structure with server_info() and create_token() helpers
- Update all CLI tests to use shared server infrastructure
- Server tests (42 tests) still pass 

Note: CLI tests have stdin handling issues with interactive create-token command.
Using API directly for token creation in tests as workaround.

Co-authored-by: jnsgruk <668505+jnsgruk@users.noreply.github.com>
2025-11-25 16:28:45 +00:00
..
auth_api.rs test(server): fix broken tests by adding authentication support 2025-11-25 16:28:13 +00:00
helpers.rs refactor(test): simplify CLI tests with shared server and remove unused TestApp helpers 2025-11-25 16:28:45 +00:00
main.rs fix(api): use TokenResponse DTO to exclude sensitive token_hash field 2025-11-25 16:28:12 +00:00
roasters_api.rs test(server): fix broken tests by adding authentication support 2025-11-25 16:28:13 +00:00
roasts_api.rs test(server): fix broken tests by adding authentication support 2025-11-25 16:28:13 +00:00
timeline.rs test(server): fix broken tests by adding authentication support 2025-11-25 16:28:13 +00:00