Files
larablog/docs/specs/membership/TESTPLAN.md
T
gouki 3cec4c5e18
CI / PHPUnit (PHP 8.3) (push) Failing after 4s
CI / PHPUnit (PHP 8.2) (push) Failing after 1m9s
CI / Deploy (manual gate) (push) Skipped
wip: article AI polish, category SEO fields, cover generator, membership plan seeder
2026-09-07 18:48:37 +00:00

39 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 会员插件 — 待测清单
## 状态
- 对应 SPEC`docs/specs/membership/SPEC.md`
- 最近更新:2026-08-12 03:55
## 待测项
### 依赖与启停
- [x] 无 payment 启用 membership → 拒绝
- [ ] 先 payment 再 membership → 成功;骨架导航不出现(人工)
- [ ] 禁用 membership → 会员文变公开;套餐菜单消失(人工)
### 订阅与过期
- [x] Stub 订阅月度 → status active + expires_at
- [x] 过期后闸门恢复;可续订成功
- [x] 终身 → expires_at nullseed + markPaid 路径覆盖)
- [x] 伪造 membership&amount=0.01 → 服务端仍用套餐价;未知类型 422
### 文章闸与互斥
- [x] 会员文未购:试读 + need_purchase
- [x] 订阅后全文;指定 plan 不接受其它 plan
- [x] 与单篇付费同时开 → 校验失败
- [ ] 作者/admin bypass(人工或后续补测)
### 套餐删除
- [x] 仍有权益行 → hasEntitlements true(删除守卫依赖此)
- [ ] 被文章引用 → 不可删(人工)
### 回归
- [x] PaidContentCommerceTest 全绿
- [x] php artisan test 全绿(50 passed
## 变更记录
| 时间 | 原因 | 变更 |
|------|------|------|
| 2026-08-12 03:45 | SPEC 定稿 | 创建待测清单 |
| 2026-08-12 03:55 | 实现 + PHPUnit | 勾选自动化覆盖项 |