You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Make MockRepo stateful for admin_auth_code and submissions_locked so the new QuoteRepository methods can be exercised without a real DB. Add four tests to src/bin/api/handlers/mod.rs: - get_submissions_locked returns false by default - set_submissions_locked(true) then get_submissions_locked returns true - update_admin_auth_code with correct current succeeds and returns new code - update_admin_auth_code with wrong current returns Forbidden Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
3 months ago | |
|---|---|---|
| .. | ||
| bin | 3 months ago | |
| lib.rs | 3 months ago | |