平台订单工具区:同步失败筛选下增加治理提示

This commit is contained in:
萝卜
2026-03-11 09:20:10 +00:00
parent ec48fe5ffb
commit f626239555
2 changed files with 21 additions and 0 deletions

View File

@@ -49,4 +49,15 @@ class AdminPlatformOrderToolsGovernanceHintTest extends TestCase
->assertSee('先去治理(取消只看可同步)', false)
->assertSee('syncable_only=', false);
}
public function test_platform_orders_tools_show_hint_when_sync_failed_filters_present(): void
{
$this->loginAsPlatformAdmin();
$this->get('/admin/platform-orders?sync_status=failed')
->assertOk()
->assertSee('当前筛选包含「同步失败/失败原因」范围', false)
->assertSee('进入同步失败集合', false)
->assertSee('sync_status=failed', false);
}
}