From b7c1bfa724d4ef050b74efa58e1290e9174094a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=9D=E5=8D=9C?= Date: Mon, 16 Mar 2026 12:28:48 +0800 Subject: [PATCH] test(admin-platform-order): guard disable-on-submit marker on core actions --- tests/Feature/AdminPlatformOrderShowActionsShouldRenderTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Feature/AdminPlatformOrderShowActionsShouldRenderTest.php b/tests/Feature/AdminPlatformOrderShowActionsShouldRenderTest.php index a667252..2e3c20f 100644 --- a/tests/Feature/AdminPlatformOrderShowActionsShouldRenderTest.php +++ b/tests/Feature/AdminPlatformOrderShowActionsShouldRenderTest.php @@ -64,6 +64,7 @@ class AdminPlatformOrderShowActionsShouldRenderTest extends TestCase // 操作表单(不 escape),确保 action URL 存在。 $res->assertSee('action="/admin/platform-orders/' . $order->id . '/mark-paid-and-activate"', false); + $res->assertSee('data-action="disable-on-submit"', false); $res->assertSee('action="/admin/platform-orders/' . $order->id . '/activate-subscription"', false); // 回执追加入口(锚点 + 表单 action)。