fix(admin): remove duplicate route and update batch show tests for linked counts

This commit is contained in:
萝卜
2026-03-17 20:18:52 +08:00
parent 6c3516e66c
commit ffb6999b5a
3 changed files with 7 additions and 7 deletions

View File

@@ -91,7 +91,9 @@ class AdminPlatformBatchShowPageShouldRenderBasSummaryAndGovernanceLinksTest ext
$this->assertStringContainsString('本次处理', $html);
$this->assertStringContainsString('4', $html);
$this->assertStringContainsString('成功 / 失败', $html);
$this->assertStringContainsString('3 / 1', $html);
// 数字现在渲染为两个可点击链接(中间用 <span> / </span>),因此不再出现纯文本 "3 / 1"。
$this->assertStringContainsString('data-role="batch-success-count-link"', $html);
$this->assertStringContainsString('data-role="batch-failed-count-link"', $html);
// 治理链接
$this->assertStringContainsString('batch_activation_run_id=' . $runId, $html);