From 164b6e8fee45c2cf40f9a0ed7ed358f3d90d38b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=9D=E5=8D=9C?= Date: Thu, 19 Mar 2026 05:39:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=BC=BA=E5=B7=A5=E5=85=B7=E9=94=9A?= =?UTF-8?q?=E7=82=B9=E7=BB=84=E4=BB=B6=E5=9B=9B=E8=A6=81=E7=B4=A0=E5=85=BC?= =?UTF-8?q?=E5=AE=B9=E6=8A=A4=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...ldKeepRoleHrefClassAndAriaTogetherTest.php | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/Feature/AdminPlatformOrderToolAnchorButtonShouldKeepRoleHrefClassAndAriaTogetherTest.php diff --git a/tests/Feature/AdminPlatformOrderToolAnchorButtonShouldKeepRoleHrefClassAndAriaTogetherTest.php b/tests/Feature/AdminPlatformOrderToolAnchorButtonShouldKeepRoleHrefClassAndAriaTogetherTest.php new file mode 100644 index 0000000..7868287 --- /dev/null +++ b/tests/Feature/AdminPlatformOrderToolAnchorButtonShouldKeepRoleHrefClassAndAriaTogetherTest.php @@ -0,0 +1,21 @@ +assertStringContainsString('data-role="{{ $role }}"', $partial); + $this->assertStringContainsString('aria-label="{{ $ariaLabel }}"', $partial); + $this->assertStringContainsString('class="{{ $class ??', $partial); + $this->assertStringContainsString('href="{{ $href ??', $partial); + } +}