From 6b0399425a651a55780edc34c28cd182333d1844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=9D=E5=8D=9C?= Date: Sun, 15 Mar 2026 03:36:39 +0000 Subject: [PATCH] =?UTF-8?q?=E7=BB=AD=E8=B4=B9=E5=85=A5=E5=8F=A3=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=20require=5Fsubscription=3D1=EF=BC=9A=E8=A1=A5?= =?UTF-8?q?=E9=BD=90=E7=9B=B8=E5=85=B3=E6=B5=81=E7=A8=8B=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E6=96=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AdminPlatformOrderSubscriptionLockedRenewFlowTest.php | 1 + .../AdminSubscriptionShowToCreatePlatformOrderBackFlowTest.php | 2 ++ 2 files changed, 3 insertions(+) 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' => '',