Files
digital-psychology/docs/TEST_REPORT/ECR-014.md
T
jackyu66gitandCursor 882c01d81a feat(ECR-014): MembershipPlan 套餐配置并 Closed
membership_plans 表、admin 套餐页、Grant/CreateOrder 读表;
Loop continuous 自动 Approve/Closed。Next:ECR-015 RedemptionCode。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 18:03:38 +08:00

651 B
Raw Blame History

TEST_REPORT — ECR-014 MembershipPlan

Date: 2026-08-07 · Loop continuous

Commands

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