saveinmed/backend/internal/repository/postgres
Tiago Yamamoto f0d64d1801 fix(tests): fix failing tests and increase coverage
Backend:
- Fix TestCreateCompany (added Phone, OperatingHours, Is24Hours)
- Fix TestCreateProduct (added EANCode, Manufacturer, Category, etc)
- Add TestCreateUser, TestListUsers, TestListOrders, TestGetShippingSettings
- All 9 repository tests now pass

Frontend:
- Add shippingService.test.ts (4 tests)
- Add ordersService.test.ts (5 tests)
- Add format.test.ts (9 tests)
- Total tests increased from 54 to 72
2025-12-26 22:54:51 -03:00
..
migrations feat: overhaul shipping module, add seeder, and improve order UI 2025-12-23 18:23:32 -03:00
migrations.go Add database migrations runner 2025-12-20 10:32:54 -03:00
postgres.go feat: add quantity selector, fix offer display, swap filter/location layout 2025-12-26 22:16:48 -03:00
postgres_test.go fix: update db tests with proper env loading 2025-12-18 08:20:19 -03:00
repository_test.go fix(tests): fix failing tests and increase coverage 2025-12-26 22:54:51 -03:00