Changeset 43473
- Timestamp:
- 07/17/2018 10:06:12 AM (6 years ago)
- 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 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.