Changeset 44966 for trunk/tests/phpunit/tests/url/getPrivacyPolicyUrl.php
- Timestamp:
- 03/21/2019 07:47:29 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/url/getPrivacyPolicyUrl.php
r43002 r44966 46 46 ) 47 47 ); 48 49 self::$privacy_policy_url = get_permalink( self::$privacy_policy_page_id );50 48 } 51 49 … … 61 59 */ 62 60 public function test_get_privacy_policy_url_should_return_valid_url_when_policy_page_set() { 61 $privacy_policy_url = get_permalink( self::$privacy_policy_page_id ); 63 62 update_option( 'wp_page_for_privacy_policy', self::$privacy_policy_page_id ); 64 63 65 $this->assertSame( self::$privacy_policy_url, get_privacy_policy_url() );64 $this->assertSame( $privacy_policy_url, get_privacy_policy_url() ); 66 65 } 67 66
Note: See TracChangeset
for help on using the changeset viewer.