订阅详情续费下单链接补齐 require_subscription=1 并更新测试
This commit is contained in:
@@ -62,6 +62,7 @@ class AdminSiteSubscriptionShowCreateRenewalOrderLinkContainsBackTest extends Te
|
||||
'plan_id' => $plan->id,
|
||||
'site_subscription_id' => $sub->id,
|
||||
'order_type' => 'renewal',
|
||||
'require_subscription' => '1',
|
||||
'quantity' => 1,
|
||||
'remark' => '来自订阅:' . $sub->subscription_no,
|
||||
'back' => '/admin/site-subscriptions/' . $sub->id,
|
||||
|
||||
@@ -62,6 +62,7 @@ class AdminSiteSubscriptionShowCreateRenewalOrderLinkTest extends TestCase
|
||||
$res->assertSee('plan_id=' . $plan->id, false);
|
||||
$res->assertSee('site_subscription_id=' . $sub->id, false);
|
||||
$res->assertSee('order_type=renewal', false);
|
||||
$res->assertSee('require_subscription=1', false);
|
||||
$res->assertSee('quantity=1', false);
|
||||
$res->assertSee('remark=', false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user