Tests: Remove duplicate testcase test_get_privacy_policy_url_should_return_empty_when_privacy_policy_page_not_set() from Tests_Url_GetPrivacyPolicyUrl.

See: #39265.

git-svn-id: https://develop.svn.wordpress.org/trunk@53681 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2022-07-07 22:20:18 +00:00
parent 599b7146ca
commit b419dd47f7

View File

@ -64,13 +64,6 @@ class Tests_Url_GetPrivacyPolicyUrl extends WP_UnitTestCase {
$this->assertSame( $privacy_policy_url, get_privacy_policy_url() );
}
/**
* The function should return an empty string when `wp_page_for_privacy_policy` is _not_ set.
*/
public function test_get_privacy_policy_url_should_return_empty_when_privacy_policy_page_not_set() {
$this->assertSame( '', get_privacy_policy_url() );
}
/**
* The function should return an empty string for an invalid `wp_page_for_privacy_policy` value.
*/