feat(platform-orders): 列表展示最近批量生效信息
This commit is contained in:
@@ -33,6 +33,7 @@ class AdminPlatformOrderTest extends TestCase
|
||||
->assertSee('平台订单列表')
|
||||
->assertSee('失败原因')
|
||||
->assertSee('最近批量同步')
|
||||
->assertSee('最近批量生效')
|
||||
->assertSee('最近24小时批量同步过')
|
||||
->assertSee('可同步订单')
|
||||
->assertSee('近24小时批量同步')
|
||||
@@ -230,6 +231,11 @@ class AdminPlatformOrderTest extends TestCase
|
||||
'synced_at' => now()->toDateTimeString(),
|
||||
'admin_id' => 1,
|
||||
],
|
||||
'batch_mark_activated' => [
|
||||
'at' => '2026-03-10 00:00:01',
|
||||
'admin_id' => 1,
|
||||
'scope' => 'filtered',
|
||||
],
|
||||
'audit' => [
|
||||
[
|
||||
'action' => 'batch_activate_subscription',
|
||||
@@ -244,6 +250,7 @@ class AdminPlatformOrderTest extends TestCase
|
||||
$this->get('/admin/platform-orders')
|
||||
->assertOk()
|
||||
->assertSee('2026-03-10 00:00:00')
|
||||
->assertSee('2026-03-10 00:00:01')
|
||||
->assertSee('管理员:1');
|
||||
|
||||
// 最近24小时批量同步筛选:构造一条近24h,一条超过24h
|
||||
|
||||
Reference in New Issue
Block a user