续费入口统一 require_subscription=1:补齐相关流程测试断言
This commit is contained in:
@@ -69,6 +69,7 @@ class AdminPlatformOrderSubscriptionLockedRenewFlowTest extends TestCase
|
||||
'site_subscription_id' => $sub->id,
|
||||
'merchant_id' => $merchant->id,
|
||||
'plan_id' => $plan->id,
|
||||
'require_subscription' => '1',
|
||||
'quantity' => 1,
|
||||
'remark' => config('saasshop.platform_orders.renewal_order_remark_prefix', '来自订阅:') . $sub->subscription_no,
|
||||
'back' => $indexUrl,
|
||||
|
||||
@@ -63,6 +63,7 @@ class AdminSubscriptionShowToCreatePlatformOrderBackFlowTest extends TestCase
|
||||
'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,
|
||||
@@ -83,6 +84,7 @@ class AdminSubscriptionShowToCreatePlatformOrderBackFlowTest extends TestCase
|
||||
'plan_id' => $plan->id,
|
||||
'site_subscription_id' => $sub->id,
|
||||
'order_type' => 'renewal',
|
||||
'require_subscription' => '1',
|
||||
'quantity' => 1,
|
||||
'discount_amount' => 0,
|
||||
'payment_channel' => '',
|
||||
|
||||
Reference in New Issue
Block a user