saveinmed/backend
Tiago Yamamoto 7105549faf test: add handler tests (+9.6% coverage: 36.9% → 46.5%)
Added 26 new handler tests:
- SearchProducts: MissingLatLng, InvalidLat/Lng, Success, WithFilters
- Auth: RegisterCustomer, RegisterTenant, ForgotPassword, ResetPassword, VerifyEmail, Logout
- Pagination: ListProducts, ListCompanies, ListOrders
- Shipping: CalculateShipping, GetShippingSettings
- Reviews: CreateReview, GetCompanyRating
- Dashboard: GetSellerDashboard
- Payments: CreatePaymentPreference, HandlePaymentWebhook
- Shipments: CreateShipment, GetShipmentByOrderID

Handler coverage: 36.9% → 46.5% (+9.6%)
Seeder already has 'Aparecida de Goiânia' (verified)
2025-12-27 00:29:03 -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 handler tests (+9.6% coverage: 36.9% → 46.5%) 2025-12-27 00:29:03 -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