From 35e33b8c0eda167e62df744d9e8ae1b53b297c2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=9D=E5=8D=9C?= Date: Thu, 19 Mar 2026 16:27:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=BC=BA=E6=91=98=E8=A6=81=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E9=93=BE=E6=8E=A5=E5=85=AD=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 --- ...LinkShouldKeepAllAttributesSupportTest.php | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tests/Feature/AdminPlatformOrderSummaryTextLinkShouldKeepAllAttributesSupportTest.php diff --git a/tests/Feature/AdminPlatformOrderSummaryTextLinkShouldKeepAllAttributesSupportTest.php b/tests/Feature/AdminPlatformOrderSummaryTextLinkShouldKeepAllAttributesSupportTest.php new file mode 100644 index 0000000..72c0668 --- /dev/null +++ b/tests/Feature/AdminPlatformOrderSummaryTextLinkShouldKeepAllAttributesSupportTest.php @@ -0,0 +1,23 @@ +assertStringContainsString('data-role="{{ $role ??', $partial); + $this->assertStringContainsString('aria-label="{{ $ariaLabel }}"', $partial); + $this->assertStringContainsString('title="{{ $title }}"', $partial); + $this->assertStringContainsString('class="{{ $class ??', $partial); + $this->assertStringContainsString('href="{!! $href ??', $partial); + $this->assertStringContainsString('{{ $label ??', $partial); + } +}