Make WordPress Core

Changeset 53681


Ignore:
Timestamp:
07/07/2022 10:20:18 PM (2 years ago)
Author:
azaozz
Message:

Tests: Remove duplicate testcase test_get_privacy_policy_url_should_return_empty_when_privacy_policy_page_not_set() from Tests_Url_GetPrivacyPolicyUrl.

See: #39265.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/url/getPrivacyPolicyUrl.php

    r49603 r53681  
    6666
    6767    /**
    68      * The function should return an empty string when `wp_page_for_privacy_policy` is _not_ set.
    69      */
    70     public function test_get_privacy_policy_url_should_return_empty_when_privacy_policy_page_not_set() {
    71         $this->assertSame( '', get_privacy_policy_url() );
    72     }
    73 
    74     /**
    7568     * The function should return an empty string for an invalid `wp_page_for_privacy_policy` value.
    7669     */
Note: See TracChangeset for help on using the changeset viewer.