memos/server/router/api/v1/test
Claude 63ee0c0307
refactor(api): remove test_auth.go and inline test helpers
- Export UserIDContextKey in acl.go to allow test access
- Update test_helper.go to use UserIDContextKey directly
- Remove test_auth.go file as functionality is now inlined
- Update all references from userIDContextKey to UserIDContextKey

This simplifies the test helper architecture by eliminating an
unnecessary indirection layer.
2025-11-08 01:47:47 +00:00
..
idp_service_test.go fix(security): add missing authorization checks to various services (#5217) 2025-11-06 19:42:44 +08:00
instance_service_test.go refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
memo_attachment_service_test.go fix(security): implement security review recommendations (#5228) 2025-11-06 23:32:27 +08:00
memo_relation_service_test.go fix(security): implement security review recommendations (#5228) 2025-11-06 23:32:27 +08:00
memo_service_test.go refactor: remove unused constants 2025-10-16 20:40:46 +08:00
reaction_service_test.go fix(security): implement security review recommendations (#5228) 2025-11-06 23:32:27 +08:00
shortcut_service_test.go refactor: remove unused constants 2025-10-16 20:40:46 +08:00
test_helper.go refactor(api): remove test_auth.go and inline test helpers 2025-11-08 01:47:47 +00:00
user_service_registration_test.go fix(api): correct user registration logic and first-user detection 2025-11-06 23:41:47 +08:00
user_service_stats_test.go refactor: remove unused constants 2025-10-16 20:40:46 +08:00