From b419dd47f7c952e777f45fb2271c2cf629ee69ba Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Thu, 7 Jul 2022 22:20:18 +0000 Subject: [PATCH] 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 --- tests/phpunit/tests/url/getPrivacyPolicyUrl.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/phpunit/tests/url/getPrivacyPolicyUrl.php b/tests/phpunit/tests/url/getPrivacyPolicyUrl.php index 7c06cf4fda..5c46b9bfe1 100644 --- a/tests/phpunit/tests/url/getPrivacyPolicyUrl.php +++ b/tests/phpunit/tests/url/getPrivacyPolicyUrl.php @@ -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. */