brewlog/tests/cli
Jon Seager 4bc64dd12f
test(auth): update tests for passkey migration
- Replace password-based token creation with direct DB inserts in CLI helpers
- Use INSERT OR IGNORE for concurrent test thread safety on shared user
- Update server test helpers with passkey/registration_token repos and WebAuthn state
- Remove password-based auth tests, keep bearer token validation tests
- Set BREWLOG_RP_ID, RP_ORIGIN, OPENROUTER_API_KEY, FOURSQUARE_API_KEY in test env
- Use localhost instead of 127.0.0.1 for WebAuthn RP ID compatibility
2026-02-05 11:00:20 +00:00
..
backup_cli.rs feat(backup): expose backup/restore via authenticated API endpoints 2026-02-04 19:38:49 +00:00
bags_cli.rs refactor(cli): restructure commands from flat to nested subcommands 2026-02-02 17:02:46 +00:00
brews_cli.rs test(brews): add server and CLI integration tests 2026-02-02 19:32:35 +00:00
cafes_cli.rs test(cafes): add API, CLI, Datastar, timeline, and backup tests 2026-02-03 14:53:08 +00:00
gear_cli.rs refactor(cli): restructure commands from flat to nested subcommands 2026-02-02 17:02:46 +00:00
helpers.rs test(auth): update tests for passkey migration 2026-02-05 11:00:20 +00:00
main.rs feat(backup): expose backup/restore via authenticated API endpoints 2026-02-04 19:38:49 +00:00
roasters_cli.rs refactor(cli): restructure commands from flat to nested subcommands 2026-02-02 17:02:46 +00:00
roasts_cli.rs feat(roast): add update command for consistency with other entities 2026-02-02 17:09:32 +00:00
tokens_cli.rs refactor(cli): restructure commands from flat to nested subcommands 2026-02-02 17:02:46 +00:00