saveinmed/backend
Tiago Yamamoto c53cd5a4dd test: add Stripe and Mock gateway tests (+79% payments coverage)
Added 12 new tests for payment gateways:
- TestNewStripeGateway, TestStripeCreatePreference, TestStripeCreatePaymentIntent
- TestNewMockGateway, TestMockCreatePreference, TestMockConfirmPayment, TestMockRefundPayment
- Context cancellation tests for all gateways

Coverage increases:
- Payments: 11.8% → 91.4% (+79.6%)
- Handler: 32.6% → 36.9%
- Middleware: 90.8%
- Config: 85.7%
- Server: 69.1%

Frontend: 95 tests passing
2025-12-26 23:42:38 -03:00
..
cmd feat(web): redesign login page, fix search bug and enhance seeder 2025-12-23 18:34:46 -03:00
docs feat: Implement Payment Methods, Shipping Improvements, Swagger Audit, and UUIDv7 Migration 2025-12-26 17:48:50 -03:00
internal test: add Stripe and Mock gateway tests (+79% payments coverage) 2025-12-26 23:42:38 -03:00
.env test: add automated tests for admin login 2025-12-22 00:31:26 -03:00
.env.example feat(backend): switch auth to username and cleanup db config 2025-12-21 23:04:47 -03:00
.gitignore chore: refactor backend config, unignore .env, update config loading 2025-12-20 10:10:55 -03:00
api feat(backend): switch auth to username and cleanup db config 2025-12-21 23:04:47 -03:00
BACKEND.md feat: major implementation - seeder, payments, docs 2025-12-26 23:39:49 -03:00
Dockerfile feat(backend): add configurable CORS and optimize Dockerfile 2025-12-19 17:34:30 -03:00
go.mod chore(backend): add lib/pq dependency for PostgreSQL array support 2025-12-22 15:32:47 -03:00
go.sum fix(backend): properly load .env file manually in config.go 2025-12-22 09:47:17 -03:00