admin: 平台订单列表退款不一致治理链接直达追加退款面板

This commit is contained in:
萝卜
2026-03-17 21:18:50 +08:00
parent bf73f6dcae
commit 545063fa42
3 changed files with 5 additions and 4 deletions

View File

@@ -52,9 +52,10 @@ class AdminPlatformOrderIndexRefundInconsistentFixLinkShouldPointToRefundSection
$html = (string) $res->getContent();
// 退款不一致集合里,行内“去核对退款”应锚定到退款区块(#refund-receipts
// 退款不一致集合里,行内“去核对退款”应优先锚定到“追加退款记录”面板(#add-refund-receipt
// 以缩短 SOP进入详情页后无需再滚动/再展开)。
$this->assertStringContainsString('疑似不一致', $html);
$this->assertStringContainsString('/admin/platform-orders/' . $order->id, $html);
$this->assertStringContainsString('#refund-receipts', $html);
$this->assertStringContainsString('#add-refund-receipt', $html);
}
}