From d8b7887b0fc956d9cdb4cb3dd3bbe85c369c3e3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=9D=E5=8D=9C?= Date: Thu, 19 Mar 2026 16:35:25 +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=E4=BA=94=E8=A6=81=E7=B4=A0=E6=8A=A4?= =?UTF-8?q?=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...ttonShouldKeepAllAttributesSupportTest.php | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tests/Feature/AdminPlatformOrderToolAnchorButtonShouldKeepAllAttributesSupportTest.php diff --git a/tests/Feature/AdminPlatformOrderToolAnchorButtonShouldKeepAllAttributesSupportTest.php b/tests/Feature/AdminPlatformOrderToolAnchorButtonShouldKeepAllAttributesSupportTest.php new file mode 100644 index 0000000..b362b2e --- /dev/null +++ b/tests/Feature/AdminPlatformOrderToolAnchorButtonShouldKeepAllAttributesSupportTest.php @@ -0,0 +1,22 @@ +assertStringContainsString('data-role="{{ $role }}"', $partial); + $this->assertStringContainsString('aria-label="{{ $ariaLabel }}"', $partial); + $this->assertStringContainsString('class="{{ $class ??', $partial); + $this->assertStringContainsString('href="{{ $href ??', $partial); + $this->assertStringContainsString('{{ $label ??', $partial); + } +}