Changeset 49025 for trunk/tests/phpunit/tests/functions/anonymization.php
- Timestamp:
- 09/21/2020 01:25:38 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/anonymization.php
r49006 r49025 26 26 * @ticket 41083 27 27 * @ticket 43545 28 * @requires function inet_ntop 29 * @requires function inet_pton 28 30 * 29 31 * @param string $raw_ip Raw IP address. … … 31 33 */ 32 34 public function test_wp_privacy_anonymize_ip( $raw_ip, $expected_result ) { 33 if ( ! function_exists( 'inet_ntop' ) || ! function_exists( 'inet_pton' ) ) {34 $this->markTestSkipped( 'This test requires both the inet_ntop() and inet_pton() functions.' );35 }36 37 35 $actual_result = wp_privacy_anonymize_data( 'ip', $raw_ip ); 38 36
Note: See TracChangeset
for help on using the changeset viewer.