mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
599b7146ca
commit
b419dd47f7
@ -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.
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user