test(admin-platform-order): guard disable-on-submit marker on core actions
This commit is contained in:
@@ -64,6 +64,7 @@ class AdminPlatformOrderShowActionsShouldRenderTest extends TestCase
|
|||||||
|
|
||||||
// 操作表单(不 escape),确保 action URL 存在。
|
// 操作表单(不 escape),确保 action URL 存在。
|
||||||
$res->assertSee('action="/admin/platform-orders/' . $order->id . '/mark-paid-and-activate"', false);
|
$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);
|
$res->assertSee('action="/admin/platform-orders/' . $order->id . '/activate-subscription"', false);
|
||||||
|
|
||||||
// 回执追加入口(锚点 + 表单 action)。
|
// 回执追加入口(锚点 + 表单 action)。
|
||||||
|
|||||||
Reference in New Issue
Block a user