平台订单:BAS批次筛选badge文案对齐BMPA并补全
This commit is contained in:
@@ -28,10 +28,12 @@ class AdminPlatformOrderIndexBatchActivationRunIdBadgeQuickLinksShouldRenderTest
|
||||
->assertOk()
|
||||
->getContent();
|
||||
|
||||
$this->assertStringContainsString('当前 run_id:<strong>' . $runId . '</strong>', $html);
|
||||
$this->assertStringContainsString('当前 BAS run_id:<strong>' . $runId . '</strong>', $html);
|
||||
|
||||
// 本批次全部
|
||||
$this->assertStringContainsString('batch_activation_run_id=' . $runId, $html);
|
||||
|
||||
// 本批次失败
|
||||
$this->assertStringContainsString('batch_activation_run_id=' . $runId, $html);
|
||||
$this->assertStringContainsString('sync_status=failed', $html);
|
||||
|
||||
// 本批次可同步重试(unsynced + syncable_only=1)
|
||||
|
||||
@@ -26,9 +26,9 @@ class AdminPlatformOrderIndexBatchActivationRunIdBadgeShouldRenderTest extends T
|
||||
$res = $this->get('/admin/platform-orders?batch_activation_run_id=BAS_BADGE_0001');
|
||||
$res->assertOk();
|
||||
|
||||
$res->assertSee('当前批次筛选');
|
||||
$res->assertSee('当前 BAS 批次筛选');
|
||||
$res->assertSee('BAS_BADGE_0001');
|
||||
$res->assertSee('清除批次筛选');
|
||||
$res->assertSee('清除 BAS 批次筛选');
|
||||
$res->assertSee('/admin/platform-orders?batch_activation_run_id=', false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user