Make WordPress Core

Changeset 43473


Ignore:
Timestamp:
07/17/2018 10:06:12 AM (6 years ago)
Author:
azaozz
Message:

Privacy: Fix tests after [43467].

Merges [43471] to the 4.9. branch.
See #44141.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/tests/phpunit/tests/functions/anonymization.php

    r43468 r43473  
    213213     */
    214214    public function test_anonymize_email() {
    215         $this->assertSame( '', wp_privacy_anonymize_data( 'email', 'bar@example.com' ) );
     215        $this->assertSame( 'deleted@site.invalid', wp_privacy_anonymize_data( 'email', 'bar@example.com' ) );
    216216    }
    217217
     
    220220     */
    221221    public function test_anonymize_url() {
    222         $this->assertSame( '', wp_privacy_anonymize_data( 'url', 'https://example.com/author/username' ) );
     222        $this->assertSame( 'https://site.invalid', wp_privacy_anonymize_data( 'url', 'https://example.com/author/username' ) );
    223223    }
    224224
Note: See TracChangeset for help on using the changeset viewer.