- Timestamp:
- 07/17/2018 09:57:57 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/anonymization.php
r43467 r43471 213 213 */ 214 214 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' ) ); 216 216 } 217 217 … … 220 220 */ 221 221 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' ) ); 223 223 } 224 224
Note: See TracChangeset
for help on using the changeset viewer.