全量回归:平台订单行级提示链接携带back(同步更新测试断言)

This commit is contained in:
萝卜
2026-03-14 17:59:46 +00:00
parent 2d380e180b
commit 4aa44258f8
3 changed files with 25 additions and 19 deletions

View File

@@ -63,9 +63,12 @@ class AdminPlatformOrderRefundInconsistentRowHintFixLinkTest extends TestCase
],
]);
$this->get('/admin/platform-orders?refund_inconsistent=1')
->assertOk()
->assertSee('/admin/platform-orders/' . $order->id . '#refund-receipts', false)
->assertSee('去核对退款');
$res = $this->get('/admin/platform-orders?refund_inconsistent=1');
$res->assertOk();
$indexSelfWithoutBack = '/admin/platform-orders?refund_inconsistent=1';
$res->assertSee('/admin/platform-orders/' . $order->id . '?back=' . urlencode($indexSelfWithoutBack) . '#refund-receipts', false);
$res->assertSee('去核对退款');
}
}