test(cache): 修复CacheConfigTest边界值测试
- 修改 shouldVerifyCacheManager_withMaximumIntegerTtl 为 shouldVerifyCacheManager_withMaximumAllowedTtl - 使用正确的最大TTL值(10080分钟,7天)而不是 Integer.MAX_VALUE - 新增 shouldThrowException_whenTtlExceedsMaximum 测试验证边界检查 - 所有1266个测试用例通过 - 覆盖率: 指令81.89%, 行88.48%, 分支51.55% docs: 添加项目状态报告 - 生成 PROJECT_STATUS_REPORT.md 详细记录项目当前状态 - 包含质量指标、已完成功能、待办事项和技术债务
This commit is contained in:
42
frontend/h5/cypress/fixtures/short-link.json
Normal file
42
frontend/h5/cypress/fixtures/short-link.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"success": true,
|
||||
"data": {
|
||||
"id": "1",
|
||||
"shortCode": "abc123",
|
||||
"shortUrl": "https://mosquito.com/s/abc123",
|
||||
"originalUrl": "https://example.com/landing-page",
|
||||
"campaign": "test-campaign",
|
||||
"totalClicks": 125,
|
||||
"uniqueClicks": 98,
|
||||
"conversions": 9,
|
||||
"conversionRate": 7.2,
|
||||
"createdAt": "2026-01-20T10:00:00Z",
|
||||
"expiresAt": "2026-04-20T10:00:00Z",
|
||||
"status": "ACTIVE",
|
||||
"qrCode": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==",
|
||||
"statistics": {
|
||||
"daily": [
|
||||
{
|
||||
"date": "2026-01-20",
|
||||
"clicks": 25,
|
||||
"conversions": 2
|
||||
},
|
||||
{
|
||||
"date": "2026-01-21",
|
||||
"clicks": 32,
|
||||
"conversions": 3
|
||||
},
|
||||
{
|
||||
"date": "2026-22",
|
||||
"clicks": 28,
|
||||
"conversions": 2
|
||||
},
|
||||
{
|
||||
"date": "2026-01-23",
|
||||
"clicks": 40,
|
||||
"conversions": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user