feat(gov): 批量仅标记生效审计补充 filters/note

This commit is contained in:
萝卜
2026-03-11 03:49:39 +00:00
parent d011a20373
commit 0acf30c5ff
2 changed files with 15 additions and 1 deletions

View File

@@ -110,7 +110,10 @@ class AdminPlatformOrderBatchMarkActivatedTest extends TestCase
$audit1 = (array) (data_get($o1->meta, 'audit', []) ?? []);
$this->assertNotEmpty($audit1);
$this->assertSame('batch_mark_activated', (string) data_get(end($audit1), 'action'));
$last = end($audit1);
$this->assertSame('batch_mark_activated', (string) data_get($last, 'action'));
$this->assertNotEmpty(data_get($last, 'filters'));
$this->assertNotEmpty(data_get($last, 'note'));
}
public function test_batch_mark_activated_requires_paid_pending_filters_in_filtered_scope(): void