saveinmed/backend
Tiago Yamamoto ebd6d903ec test: add comprehensive Asaas gateway tests (+45% payments coverage)
Added 17 new tests for Asaas payment gateway:
- TestNewAsaasGateway, TestAsaasBaseURL_Sandbox/Production
- TestAsaasCreatePreference, TestAsaasCreatePixPayment
- TestAsaasCreateBoletoPayment, TestAsaasConfirmPayment
- TestAsaasRefundPayment, TestAsaasCreateSubaccount
- Context cancellation tests for all methods

Coverage results:
- Payments: 50% → 95.3% (+45%)
- Middleware: 90.8%
- Config: 85.7%
- Server: 69.1%
- Handler: 36.9%
2025-12-27 00:22:52 -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 comprehensive Asaas gateway tests (+45% payments coverage) 2025-12-27 00:22:52 -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