|
|
811fdf2663
|
Phase 2.5: Add exchange endpoint tests
Comprehensive test coverage for exchange endpoints:
- Price endpoint: permission checks, price retrieval, staleness, config
- Create exchange: buy/sell, double booking, validation, stale price
- User trades: list trades, cancel own trade, cancel restrictions
- Admin trades: view upcoming/past, complete, no-show, cancel
Tests mock the Bitfinex price fetcher to ensure deterministic results.
|
2025-12-22 18:48:23 +01:00 |
|