更新订阅退款不一致提示测试注释:对齐 amounts.tolerance 新口径

This commit is contained in:
萝卜
2026-03-13 16:17:14 +00:00
parent 485b69857e
commit 2746953394

View File

@@ -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,