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); + } +}