User
|
e34a59d720
|
test(ops): add partition status unit tests and fix test mocks
- Add ops_partition_test.go with comprehensive unit tests:
- Test partitioned table scenario
- Test needs_partitioning warning level
- Test info level warning (50K-100K rows)
- Test below threshold scenario
- Test error handling
- Test nil repo handling
- Fix ops_repo_mock_test.go to implement new interface methods:
- IsUsageLogsPartitioned
- GetUsageLogsRowCount
- GetUsageLogsPartitionCount
- Fix admin_basic_handlers_test.go password length:
- Change "pass123" to "password123" (min=8 enforced)
|
2026-04-17 07:20:54 +08:00 |
|