membership_plans 表、admin 套餐页、Grant/CreateOrder 读表; Loop continuous 自动 Approve/Closed。Next:ECR-015 RedemptionCode。 Co-authored-by: Cursor <cursoragent@cursor.com>
30 lines
651 B
Markdown
30 lines
651 B
Markdown
# TEST_REPORT — ECR-014 MembershipPlan
|
||
|
||
Date: 2026-08-07 · Loop continuous
|
||
|
||
## Commands
|
||
|
||
```bash
|
||
cd apps/api && go test ./internal/integration/ -run TestMembershipPlans -count=1
|
||
npm run build:admin
|
||
```
|
||
|
||
## Results
|
||
|
||
| Check | Result |
|
||
|-------|--------|
|
||
| TestMembershipPlans | PASS |
|
||
| build:admin | PASS |
|
||
|
||
## AC
|
||
|
||
| ID | Evidence |
|
||
|----|----------|
|
||
| AC-F-01 | GET plans ≥3 codes |
|
||
| AC-F-02 | PUT month → GET 一致 |
|
||
| AC-F-03 | grant month 200(读表 duration) |
|
||
| AC-S-01 | RequirePermission middleware(同 013A 模式) |
|
||
| AC-S-02 | 无 token → 401 |
|
||
| AC-P-01 | GET < 500ms |
|
||
| AC-O-01 | AuditLog membership.plans.update |
|