Make WordPress Core

Changeset 59934


Ignore:
Timestamp:
03/04/2025 07:16:33 PM (18 months ago)
Author:
joedolson
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/admin/includesFile.php

    r59902 r59934  
    416416         *
    417417         * @see test_download_url_should_use_the_content_type_header_to_set_extension_of_a_file_if_extension_was_not_determined()
    418          * @test
     418         *
    419419         * @ticket 54738
    420420         *
Note: See TracChangeset for help on using the changeset viewer.