Make WordPress Core


Ignore:
Timestamp:
11/02/2021 10:07:49 PM (3 years ago)
Author:
hellofromTonya
Message:

Build/Test Tools: Add missing @covers and visibility for Tests_Admin_includesMisc.

Adds the @covers tag to the test DocBlock.
Adds missing public visibility to the test method.

Follow-up to [25002].

Props pbearne, jrf, hellofromTonya.
See #39265.

File:
1 edited

Legend:

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

    r51639 r51994  
    55 */
    66class Tests_Admin_IncludesMisc extends WP_UnitTestCase {
    7     function test_shorten_url() {
     7
     8    /**
     9     * @covers ::url_shorten
     10     */
     11    public function test_shorten_url() {
    812        $tests = array(
    913            'wordpress\.org/about/philosophy'
Note: See TracChangeset for help on using the changeset viewer.