更新订阅退款不一致提示测试注释:对齐 amounts.tolerance 新口径
This commit is contained in:
@@ -54,7 +54,7 @@ class AdminSiteSubscriptionRefundInconsistentHintTest extends TestCase
|
|||||||
'activated_at' => now()->subDays(2),
|
'activated_at' => now()->subDays(2),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// 构造一个“退款不一致”订单:payment_status=refunded,但退款总额不足(按分取整 + 0.01 容差)
|
// 构造一个“退款不一致”订单:payment_status=refunded,但退款总额 + 容差 < 已付金额
|
||||||
PlatformOrder::query()->create([
|
PlatformOrder::query()->create([
|
||||||
'merchant_id' => $merchant->id,
|
'merchant_id' => $merchant->id,
|
||||||
'plan_id' => $plan->id,
|
'plan_id' => $plan->id,
|
||||||
|
|||||||
Reference in New Issue
Block a user