diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index 0f7cdb1..00fd13e 100644 --- a/resources/views/admin/platform_orders/index.blade.php +++ b/resources/views/admin/platform_orders/index.blade.php @@ -45,6 +45,8 @@ 退款不一致 BMPA失败 + + 近24小时批量BMPA diff --git a/tests/Feature/AdminPlatformOrderQuickFilterBatchBmpa24hLinkTest.php b/tests/Feature/AdminPlatformOrderQuickFilterBatchBmpa24hLinkTest.php new file mode 100644 index 0000000..c187bd7 --- /dev/null +++ b/tests/Feature/AdminPlatformOrderQuickFilterBatchBmpa24hLinkTest.php @@ -0,0 +1,31 @@ +seed(); + + $this->post('/admin/login', [ + 'email' => 'platform.admin@demo.local', + 'password' => 'Platform@123456', + ])->assertRedirect('/admin'); + } + + public function test_platform_orders_page_has_quick_filter_for_batch_bmpa_24h(): void + { + $this->loginAsPlatformAdmin(); + + $this->get('/admin/platform-orders') + ->assertOk() + ->assertSee('/admin/platform-orders?batch_mark_paid_and_activate_24h=1', false) + ->assertSee('近24小时批量BMPA', false); + } +}