diff --git a/tests/Feature/AdminPlatformOrderSubscriptionLockedRenewFlowTest.php b/tests/Feature/AdminPlatformOrderSubscriptionLockedRenewFlowTest.php index cce7c88..4a6f42c 100644 --- a/tests/Feature/AdminPlatformOrderSubscriptionLockedRenewFlowTest.php +++ b/tests/Feature/AdminPlatformOrderSubscriptionLockedRenewFlowTest.php @@ -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, diff --git a/tests/Feature/AdminSubscriptionShowToCreatePlatformOrderBackFlowTest.php b/tests/Feature/AdminSubscriptionShowToCreatePlatformOrderBackFlowTest.php index fa9eedd..a5a685b 100644 --- a/tests/Feature/AdminSubscriptionShowToCreatePlatformOrderBackFlowTest.php +++ b/tests/Feature/AdminSubscriptionShowToCreatePlatformOrderBackFlowTest.php @@ -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' => '',