From 4ad0135eca3a8a37d83cd96fb852502511c85b98 Mon Sep 17 00:00:00 2001 From: Joe Dolson Date: Tue, 4 Mar 2025 19:16:33 +0000 Subject: [PATCH] Media: Tests: Remove extraneous @test annotation. The data provider for tests added in [59902] had an @test annotation, causing it to be run as if it were a test, throwing a risky test warning. Remove the @test annotation to prevent this undesired warning. Props johnbillion, joedolson. Fixes #54738. git-svn-id: https://develop.svn.wordpress.org/trunk@59934 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/admin/includesFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/admin/includesFile.php b/tests/phpunit/tests/admin/includesFile.php index 20ced72821..ab2e82cf1d 100644 --- a/tests/phpunit/tests/admin/includesFile.php +++ b/tests/phpunit/tests/admin/includesFile.php @@ -415,7 +415,7 @@ class Tests_Admin_IncludesFile extends WP_UnitTestCase { * Data provider for test_download_url_should_use_the_content_type_header_to_set_extension_of_a_file_if_extension_was_not_determined * * @see test_download_url_should_use_the_content_type_header_to_set_extension_of_a_file_if_extension_was_not_determined() - * @test + * * @ticket 54738 * * @return Generator