测试:迁移 dataProvider doc-comment 为 attributes(PHPUnit 12 兼容)

This commit is contained in:
萝卜
2026-03-14 14:17:34 +00:00
parent 3b89174a8f
commit d9a08c93ec

View File

@@ -28,9 +28,7 @@ class AdminPlatformOrderIndexUnsafeBackShouldBeDroppedForLinksTest extends TestC
]; ];
} }
/** #[\PHPUnit\Framework\Attributes\DataProvider('invalidBackProvider')]
* @dataProvider invalidBackProvider
*/
public function test_index_should_drop_unsafe_back_for_safe_full_url_with_query_links(string $invalidBack): void public function test_index_should_drop_unsafe_back_for_safe_full_url_with_query_links(string $invalidBack): void
{ {
$this->loginAsPlatformAdmin(); $this->loginAsPlatformAdmin();