chore(governance): batch mark activated requires unsynced scope

This commit is contained in:
萝卜
2026-03-16 19:04:40 +08:00
parent 33ab55b10a
commit dbb88f59f6
4 changed files with 12 additions and 2 deletions

View File

@@ -97,6 +97,7 @@ class AdminPlatformOrderBatchMarkActivatedTest extends TestCase
'scope' => 'filtered',
'payment_status' => 'paid',
'status' => 'pending',
'sync_status' => 'unsynced',
'limit' => 50,
])->assertRedirect();

View File

@@ -156,7 +156,7 @@ class AdminPlatformOrderIndexBatchButtonsShouldEnableWhenFiltersMatchTest extend
'meta' => [],
]);
$res = $this->get('/admin/platform-orders?status=pending&payment_status=paid');
$res = $this->get('/admin/platform-orders?status=pending&payment_status=paid&sync_status=unsynced');
$res->assertOk();
$html = (string) $res->getContent();