- 提示:当前筛选包含「同步失败/失败原因」范围。建议先治理失败原因(修复数据或重试同步),再执行批量同步订阅等工具动作。
-
- 提示:当前筛选包含「批量标记支付并生效失败/失败原因」范围。建议先补齐回执/核对退款/修正状态后,再切到 pending+unpaid 集合重试批量标记支付。
-
进入批量标记支付失败集合
-
|
-
切到 pending+unpaid(用于重试)
+
@endif
diff --git a/tests/Feature/AdminPlatformOrderIndexGovernanceBlocksUseCssComponentTest.php b/tests/Feature/AdminPlatformOrderIndexGovernanceBlocksUseCssComponentTest.php
new file mode 100644
index 0000000..087751b
--- /dev/null
+++ b/tests/Feature/AdminPlatformOrderIndexGovernanceBlocksUseCssComponentTest.php
@@ -0,0 +1,38 @@
+seed();
+
+ $this->post('/admin/login', [
+ 'email' => 'platform.admin@demo.local',
+ 'password' => 'Platform@123456',
+ ])->assertRedirect('/admin');
+ }
+
+ public function test_index_should_render_governance_blocks_with_css_component_class_when_filters_present(): void
+ {
+ $this->loginAsPlatformAdmin();
+
+ $res = $this->get('/admin/platform-orders?reconcile_mismatch=1&syncable_only=1&sync_status=failed&bmpa_failed_only=1');
+ $res->assertOk();
+
+ // 只要命中任一治理提示,页面应使用治理组件 class(避免再次写回 inline style)
+ $res->assertSee('governance-block', false);
+ $res->assertSee('governance-block-title', false);
+ $res->assertSee('governance-block-body', false);
+
+ $res->assertSee('工具动作治理提示', false);
+ $res->assertSee('同步失败治理提示', false);
+ $res->assertSee('BMPA 失败治理提示', false);
+ }
+}