dealspace/api
James 4758bafdb7 Comprehensive test suite: orgs, requests import, RBAC super_admin, domain validation
New tests added:
- lib/types_test.go: OrgData, DealOrgData, RequestData, WorkstreamData JSON marshal tests
- lib/rbac_test.go additions: TestSuperAdminBypassesCheckAccess, TestIsSuperAdmin, TestIsSuperAdminRevokedGrant, TestSuperAdminCanGrantAnyRole
- api/orgs_test.go: TestCreateOrg, TestCreateOrgEmptyDomains, TestCreateOrgMissingDomains, TestListOrgs, TestSuperAdminCanListAllOrgs, TestGetOrg, TestUpdateOrg, and more
- api/requests_test.go: TestImportRequestsCSV, TestImportRequestsXLSX, TestImportSmartHeaderDetection, TestImportModeReplace, TestImportModeAdd, TestListRequests, TestPriorityNormalization, and more
- api/integration_test.go additions: TestFullDealWorkflow, TestSuperAdminSeeAllProjects

Total: 33 new test functions, all passing
2026-02-28 07:20:09 -05:00
..
chat.go Switch Aria chatbot from Anthropic to Fireworks (llama-v3p3-70b) 2026-02-28 04:55:32 -05:00
handlers.go Security audit 2026-02-28: fix critical/high findings 2026-02-28 07:17:06 -05:00
integration_test.go Comprehensive test suite: orgs, requests import, RBAC super_admin, domain validation 2026-02-28 07:20:09 -05:00
middleware.go Security audit 2026-02-28: fix critical/high findings 2026-02-28 07:17:06 -05:00
middleware_test.go Security audit 2026-02-28: fix critical/high findings 2026-02-28 07:17:06 -05:00
orgs_test.go Comprehensive test suite: orgs, requests import, RBAC super_admin, domain validation 2026-02-28 07:20:09 -05:00
requests_test.go Comprehensive test suite: orgs, requests import, RBAC super_admin, domain validation 2026-02-28 07:20:09 -05:00
routes.go Security audit 2026-02-28: fix critical/high findings 2026-02-28 07:17:06 -05:00