long-agent
289aab2930
test: add repository tests to improve coverage from 46.6% to 74%
New test files:
- custom_field_repository_test.go: 10 tests for CustomFieldRepository & UserCustomFieldValueRepository
- login_log_repository_test.go: 3 tests for ListCursor, ListByUserIDCursor, ListAllForExport
- operation_log_repository_test.go: 1 test for ListCursor
- role_repository_test.go: 2 tests for GetAncestorIDs, GetAncestors
- social_account_repository_test.go: 8 CRUD tests
- theme_repository_test.go: 10 tests for ThemeConfigRepository
- user_role_repository_test.go: 1 test for DeleteByUserAndRole
Modified test files:
- device_repository_test.go: Added ListAllCursor tests
- user_repository_test.go: Added AdvancedSearch tests
- webhook_repository_test.go: Added ListByCreatorPaginated test
Updated documentation with new coverage status.
2026-04-11 21:58:28 +08:00
..
2026-04-08 20:06:54 +08:00
2026-04-02 11:22:17 +08:00
2026-04-02 11:22:17 +08:00
2026-04-02 11:22:17 +08:00
2026-04-02 11:22:17 +08:00
2026-04-02 11:22:17 +08:00
2026-04-08 20:06:54 +08:00
2026-04-02 11:22:17 +08:00
2026-04-08 20:06:54 +08:00
2026-04-09 15:30:26 +08:00
2026-04-02 11:22:17 +08:00
2026-04-07 18:10:36 +08:00
2026-04-07 18:10:36 +08:00
2026-04-07 18:10:36 +08:00
2026-04-02 13:59:27 +08:00
2026-04-03 21:08:18 +08:00
2026-04-02 11:22:17 +08:00
2026-04-02 11:22:17 +08:00
2026-04-02 11:22:17 +08:00
2026-04-09 15:30:26 +08:00
2026-04-09 23:59:47 +08:00
2026-04-11 21:58:28 +08:00
2026-04-02 11:22:17 +08:00
2026-04-02 11:22:17 +08:00