feat: 前台 .shtml 后缀 canonical + strict_types 全量启用 + 对外 API(Sanctum+Scramble 文档)+ pm2 ecosystem + GitHub Actions CI + 插件/主题/架构/API 文档 + REDIS_PREFIX 说明
This commit is contained in:
@@ -87,7 +87,7 @@ class MembershipFlowTest extends TestCase
|
||||
]);
|
||||
|
||||
// 游客:付费部分被替换
|
||||
$this->get('/posts/paid-post')
|
||||
$this->get('/posts/paid-post.shtml')
|
||||
->assertOk()
|
||||
->assertDontSee('付费隐藏内容')
|
||||
->assertSee('付费内容已隐藏');
|
||||
@@ -97,7 +97,7 @@ class MembershipFlowTest extends TestCase
|
||||
$payment = Payment::query()->where('user_id', $this->user->id)->first();
|
||||
$this->actingAs($this->user)->post('/pay/sandbox/'.$payment->order_no.'/confirm');
|
||||
|
||||
$this->actingAs($this->user)->get('/posts/paid-post')
|
||||
$this->actingAs($this->user)->get('/posts/paid-post.shtml')
|
||||
->assertOk()
|
||||
->assertSee('付费隐藏内容');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user