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,