From 274695339413638ba4c741725ea9329df6e91659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=9D=E5=8D=9C?= Date: Fri, 13 Mar 2026 16:17:14 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AE=A2=E9=98=85=E9=80=80?= =?UTF-8?q?=E6=AC=BE=E4=B8=8D=E4=B8=80=E8=87=B4=E6=8F=90=E7=A4=BA=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E6=B3=A8=E9=87=8A=EF=BC=9A=E5=AF=B9=E9=BD=90=20amount?= =?UTF-8?q?s.tolerance=20=E6=96=B0=E5=8F=A3=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Feature/AdminSiteSubscriptionRefundInconsistentHintTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/AdminSiteSubscriptionRefundInconsistentHintTest.php b/tests/Feature/AdminSiteSubscriptionRefundInconsistentHintTest.php index 381abff..4f69959 100644 --- a/tests/Feature/AdminSiteSubscriptionRefundInconsistentHintTest.php +++ b/tests/Feature/AdminSiteSubscriptionRefundInconsistentHintTest.php @@ -54,7 +54,7 @@ class AdminSiteSubscriptionRefundInconsistentHintTest extends TestCase 'activated_at' => now()->subDays(2), ]); - // 构造一个“退款不一致”订单:payment_status=refunded,但退款总额不足(按分取整 + 0.01 容差) + // 构造一个“退款不一致”订单:payment_status=refunded,但退款总额 + 容差 < 已付金额 PlatformOrder::query()->create([ 'merchant_id' => $merchant->id, 'plan_id' => $plan->id,