测试:迁移 dataProvider doc-comment 为 attributes(PHPUnit 12 兼容)
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user