chore(admin-ui): hide renew tool link in expiry view
This commit is contained in:
@@ -27,6 +27,8 @@ class AdminSiteSubscriptionIndexExpiryGovernanceRenewalCtaTest extends TestCase
|
||||
$res->assertOk();
|
||||
|
||||
$res->assertSee('创建续费订单(当前集合)');
|
||||
// 去重降噪:到期集合视图已有专用 CTA,此处不应再出现“续费下单(先选订阅)”工具入口
|
||||
$res->assertDontSee('续费下单(先选订阅)');
|
||||
|
||||
// CTA 应带上当前筛选 merchant_id/plan_id,并且 back 回到当前列表(selfWithoutBack)
|
||||
$res->assertSee('href="/admin/platform-orders/create?order_type=renewal&require_subscription=1&merchant_id=2&plan_id=3&back=%2Fadmin%2Fsite-subscriptions%3Fexpiry%3Dexpiring_7d%26merchant_id%3D2%26plan_id%3D3"', false);
|
||||
|
||||
Reference in New Issue
Block a user