WordPress.org

Make WordPress Core

Changeset 43471


Ignore:
Timestamp:
07/17/2018 09:57:57 AM (20 months ago)
Author:
azaozz
Message:

Privacy: Fix tests after [43467].

See #44141.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/functions/anonymization.php

    r43467 r43471  
    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.